File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33namespace REL
44{
5- using FHookHandle = std::uint32_t ;
5+ using FHookHandle = std::uint32_t ;
66
77 enum class EHookType : std::uint32_t
88 {
@@ -21,8 +21,8 @@ namespace REL
2121 Load = 2 ,
2222 };
2323
24- struct IHook
25- {
24+ struct IHook
25+ {
2626 virtual bool Init () = 0;
2727 virtual FHookHandle GetHandle () const = 0;
2828 virtual const char * GetName () const = 0;
@@ -33,7 +33,7 @@ namespace REL
3333 virtual bool GetEnabled () const = 0;
3434 virtual bool Enable () = 0;
3535 virtual bool Disable () = 0;
36- };
36+ };
3737}
3838
3939template <class T >
Original file line number Diff line number Diff line change @@ -64,9 +64,9 @@ namespace REX
6464
6565 template <class ... Args>
6666 TEnum (Args...) -> TEnum<
67- std::common_type_t <Args...>,
68- std::underlying_type_t <
69- std::common_type_t <Args...>>>;
67+ std::common_type_t <Args...>,
68+ std::underlying_type_t <
69+ std::common_type_t <Args...>>>;
7070
7171 // backwards compat
7272 template <
@@ -87,7 +87,7 @@ namespace REX
8787
8888 template <class ... Args>
8989 Enum (Args...) -> Enum<
90- std::common_type_t <Args...>,
91- std::underlying_type_t <
92- std::common_type_t <Args...>>>;
90+ std::common_type_t <Args...>,
91+ std::underlying_type_t <
92+ std::common_type_t <Args...>>>;
9393}
Original file line number Diff line number Diff line change @@ -179,9 +179,9 @@ namespace REX
179179
180180 template <class ... Args>
181181 TEnumSet (Args...) -> TEnumSet<
182- std::common_type_t <Args...>,
183- std::underlying_type_t <
184- std::common_type_t <Args...>>>;
182+ std::common_type_t <Args...>,
183+ std::underlying_type_t <
184+ std::common_type_t <Args...>>>;
185185
186186 // backwards compat
187187 template <
@@ -202,9 +202,9 @@ namespace REX
202202
203203 template <class ... Args>
204204 EnumSet (Args...) -> EnumSet<
205- std::common_type_t <Args...>,
206- std::underlying_type_t <
207- std::common_type_t <Args...>>>;
205+ std::common_type_t <Args...>,
206+ std::underlying_type_t <
207+ std::common_type_t <Args...>>>;
208208}
209209
210210#define REX_DEFINE_ENUM_CLASS_FLAGS (E ) \
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ namespace REX
88{
99 FModule FModule::GetCurrentModule ()
1010 {
11- return FModule{ W32::GetCurrentModule () };
11+ return FModule{ W32::GetCurrentModule () };
1212 }
1313
1414 FModule FModule::GetExecutingModule ()
@@ -100,8 +100,8 @@ namespace REX
100100 const auto ntHeader = ADJUST_POINTER<W32::IMAGE_NT_HEADERS64>(dosHeader, dosHeader->lfanew );
101101 const auto sections = W32::IMAGE_FIRST_SECTION (ntHeader);
102102 for (std::size_t i = 0 ; i < ntHeader->fileHeader .sectionCount ; ++i) {
103- const auto & section = sections[i];
104- constexpr auto size = std::extent_v<decltype (section.name )>;
103+ const auto & section = sections[i];
104+ constexpr auto size = std::extent_v<decltype (section.name )>;
105105 const auto len = std::min (a_section.size (), size);
106106
107107 if (std::memcmp (a_section.data (), section.name , len) == 0 ) {
You can’t perform that action at this time.
0 commit comments