Skip to content

Commit 99b4d34

Browse files
qudixgithub-actions[bot]
authored andcommitted
maintenance
1 parent 556a19f commit 99b4d34

5 files changed

Lines changed: 24 additions & 24 deletions

File tree

include/REX/FIniSettingStore.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#ifdef COMMONLIB_OPTION_INI
44

55
# include "REX/FSettingStore.h"
6-
# include "REX/TSingleton.h"
6+
# include "REX/TSingleton.h"
77

88
namespace REX
99
{

include/REX/FJsonSettingStore.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#ifdef COMMONLIB_OPTION_JSON
44

55
# include "REX/FSettingStore.h"
6-
# include "REX/TSingleton.h"
6+
# include "REX/TSingleton.h"
77

88
namespace REX
99
{

include/REX/FTomlSettingStore.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#ifdef COMMONLIB_OPTION_TOML
44

55
# include "REX/FSettingStore.h"
6-
# include "REX/TSingleton.h"
6+
# include "REX/TSingleton.h"
77

88
namespace REX
99
{

include/REX/FUUID.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace REX
44
{
5-
class FUUID
6-
{
5+
class FUUID
6+
{
77
public:
88
inline constexpr FUUID() noexcept = default;
99
inline constexpr FUUID(FUUID&&) noexcept = default;
@@ -28,7 +28,7 @@ namespace REX
2828
return m_data[a_pos];
2929
}
3030

31-
inline constexpr const std::uint8_t operator[](std::size_t a_pos) const noexcept
31+
inline constexpr const std::uint8_t operator[](std::size_t a_pos) const noexcept
3232
{
3333
return m_data[a_pos];
3434
}
@@ -44,18 +44,18 @@ namespace REX
4444
return true;
4545
}
4646

47-
inline constexpr explicit operator bool() const noexcept
48-
{
47+
inline constexpr explicit operator bool() const noexcept
48+
{
4949
for (auto i = 0u; i < sizeof(m_data); i++) {
5050
if (m_data[i]) {
5151
return true;
5252
}
5353
}
5454

5555
return false;
56-
}
56+
}
5757

58-
private:
58+
private:
5959
inline static constexpr std::uint8_t ParseStringHexChar(const char a_char)
6060
{
6161
const char c = a_char | 0x20;
@@ -87,9 +87,9 @@ namespace REX
8787
}
8888
}
8989

90-
private:
91-
std::uint8_t m_data[16];
92-
};
93-
static_assert(sizeof(FUUID) == 16);
90+
private:
91+
std::uint8_t m_data[16];
92+
};
93+
static_assert(sizeof(FUUID) == 16);
9494
static_assert(FUUID{ "62470f2d-f92b-4189-8af6-157310dadc8b" } == FUUID{ 0x62, 0x47, 0x0f, 0x2d, 0xf9, 0x2b, 0x41, 0x89, 0x8a, 0xf6, 0x15, 0x73, 0x10, 0xda, 0xdc, 0x8b });
9595
}

src/REX/TTomlSetting.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,61 +57,61 @@ namespace REX::Impl
5757
a_value = a_valueDefault;
5858
}
5959

60-
template<>
60+
template <>
6161
void TomlSettingLoad<bool>(void* a_data, std::vector<std::string> a_section, std::string_view a_key, bool& a_value, bool& a_valueDefault)
6262
{
6363
TomlSettingLoadEx<bool>(a_data, a_section, a_key, a_value, a_valueDefault);
6464
}
6565

66-
template<>
66+
template <>
6767
void TomlSettingLoad<float>(void* a_data, std::vector<std::string> a_section, std::string_view a_key, float& a_value, float& a_valueDefault)
6868
{
6969
TomlSettingLoadEx<float>(a_data, a_section, a_key, a_value, a_valueDefault);
7070
}
7171

72-
template<>
72+
template <>
7373
void TomlSettingLoad<double>(void* a_data, std::vector<std::string> a_section, std::string_view a_key, double& a_value, double& a_valueDefault)
7474
{
7575
TomlSettingLoadEx<double>(a_data, a_section, a_key, a_value, a_valueDefault);
7676
}
7777

78-
template<>
78+
template <>
7979
void TomlSettingLoad<std::uint8_t>(void* a_data, std::vector<std::string> a_section, std::string_view a_key, std::uint8_t& a_value, std::uint8_t& a_valueDefault)
8080
{
8181
TomlSettingLoadEx<std::uint8_t>(a_data, a_section, a_key, a_value, a_valueDefault);
8282
}
8383

84-
template<>
84+
template <>
8585
void TomlSettingLoad<std::uint16_t>(void* a_data, std::vector<std::string> a_section, std::string_view a_key, std::uint16_t& a_value, std::uint16_t& a_valueDefault)
8686
{
8787
TomlSettingLoadEx<std::uint16_t>(a_data, a_section, a_key, a_value, a_valueDefault);
8888
}
8989

90-
template<>
90+
template <>
9191
void TomlSettingLoad<std::uint32_t>(void* a_data, std::vector<std::string> a_section, std::string_view a_key, std::uint32_t& a_value, std::uint32_t& a_valueDefault)
9292
{
9393
TomlSettingLoadEx<std::uint32_t>(a_data, a_section, a_key, a_value, a_valueDefault);
9494
}
9595

96-
template<>
96+
template <>
9797
void TomlSettingLoad<std::int8_t>(void* a_data, std::vector<std::string> a_section, std::string_view a_key, std::int8_t& a_value, std::int8_t& a_valueDefault)
9898
{
9999
TomlSettingLoadEx<std::int8_t>(a_data, a_section, a_key, a_value, a_valueDefault);
100100
}
101101

102-
template<>
102+
template <>
103103
void TomlSettingLoad<std::int16_t>(void* a_data, std::vector<std::string> a_section, std::string_view a_key, std::int16_t& a_value, std::int16_t& a_valueDefault)
104104
{
105105
TomlSettingLoadEx<std::int16_t>(a_data, a_section, a_key, a_value, a_valueDefault);
106106
}
107107

108-
template<>
108+
template <>
109109
void TomlSettingLoad<std::int32_t>(void* a_data, std::vector<std::string> a_section, std::string_view a_key, std::int32_t& a_value, std::int32_t& a_valueDefault)
110110
{
111111
TomlSettingLoadEx<std::int32_t>(a_data, a_section, a_key, a_value, a_valueDefault);
112112
}
113113

114-
template<>
114+
template <>
115115
void TomlSettingLoad<std::string>(void* a_data, std::vector<std::string> a_section, std::string_view a_key, std::string& a_value, std::string& a_valueDefault)
116116
{
117117
TomlSettingLoadEx<std::string>(a_data, a_section, a_key, a_value, a_valueDefault);

0 commit comments

Comments
 (0)