Skip to content

Commit c7486d5

Browse files
committed
2 parents 22f13d7 + 02afe37 commit c7486d5

8 files changed

Lines changed: 39 additions & 39 deletions

File tree

include/RE/B/BGSNumericIDIndex.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ namespace RE
3838
{
3939
std::uint8_t data1;
4040
REX::EnumSet<Flags, std::uint8_t> flags;
41-
}; // 0
41+
}; // 0
4242
std::uint8_t data2; // 1
4343
std::uint8_t data3; // 2
4444
};

include/RE/B/BSPointerHandle.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ namespace RE
6363
}
6464

6565
[[nodiscard]] explicit operator bool() const noexcept { return has_value(); }
66-
[[nodiscard]] bool has_value() const noexcept { return _handle != 0; }
66+
[[nodiscard]] bool has_value() const noexcept { return _handle != 0; }
6767

6868
[[nodiscard]] value_type value() const noexcept { return _handle; }
6969

include/RE/B/BSTHashMap.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ namespace RE
4343
entry_type(const entry_type&) = delete;
4444

4545
entry_type(entry_type&& a_rhs) //
46-
noexcept(std::is_nothrow_move_constructible_v<value_type>&&
47-
std::is_nothrow_destructible_v<value_type>)
46+
noexcept(std::is_nothrow_move_constructible_v<value_type> &&
47+
std::is_nothrow_destructible_v<value_type>)
4848
{
4949
if (a_rhs.has_value()) {
5050
const auto rnext = a_rhs.next;
@@ -57,8 +57,8 @@ namespace RE
5757
entry_type& operator=(const entry_type&) = delete;
5858

5959
entry_type& operator=(entry_type&& a_rhs) //
60-
noexcept(std::is_nothrow_move_constructible_v<value_type>&&
61-
std::is_nothrow_destructible_v<value_type>)
60+
noexcept(std::is_nothrow_move_constructible_v<value_type> &&
61+
std::is_nothrow_destructible_v<value_type>)
6262
{
6363
if (this != std::addressof(a_rhs)) {
6464
destroy();
@@ -94,8 +94,8 @@ namespace RE
9494
}
9595

9696
[[nodiscard]] value_type steal() && //
97-
noexcept(std::is_nothrow_move_constructible_v<value_type>&&
98-
std::is_nothrow_destructible_v<value_type>)
97+
noexcept(std::is_nothrow_move_constructible_v<value_type> &&
98+
std::is_nothrow_destructible_v<value_type>)
9999
{
100100
assert(has_value());
101101
value_type val = std::move(value);
@@ -540,15 +540,15 @@ namespace RE
540540
}
541541

542542
[[nodiscard]] size_type hash_function(const key_type& a_key) const //
543-
noexcept(std::is_nothrow_constructible_v<hasher>&&
544-
std::is_nothrow_invocable_v<const hasher&, const key_type&>)
543+
noexcept(std::is_nothrow_constructible_v<hasher> &&
544+
std::is_nothrow_invocable_v<const hasher&, const key_type&>)
545545
{
546546
return static_cast<size_type>(hasher()(a_key));
547547
}
548548

549549
[[nodiscard]] bool key_eq(const key_type& a_lhs, const key_type& a_rhs) const //
550-
noexcept(std::is_nothrow_constructible_v<key_equal>&&
551-
std::is_nothrow_invocable_v<const key_equal&, const key_type&, const key_type&>)
550+
noexcept(std::is_nothrow_constructible_v<key_equal> &&
551+
std::is_nothrow_invocable_v<const key_equal&, const key_type&, const key_type&>)
552552
{
553553
return static_cast<bool>(key_equal()(a_lhs, a_rhs));
554554
}

include/RE/B/BSTTuple.h

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ namespace RE
1313

1414
// 1)
1515
BSTTuple() //
16-
noexcept(std::is_nothrow_default_constructible_v<first_type>&&
17-
std::is_nothrow_default_constructible_v<second_type>) //
16+
noexcept(std::is_nothrow_default_constructible_v<first_type> &&
17+
std::is_nothrow_default_constructible_v<second_type>) //
1818
requires(std::is_default_constructible_v<first_type> &&
1919
std::is_default_constructible_v<second_type>)
2020
:
@@ -26,8 +26,8 @@ namespace RE
2626
explicit(!std::is_convertible_v<const first_type&, first_type> ||
2727
!std::is_convertible_v<const second_type&, second_type>) //
2828
BSTTuple(const first_type& a_first, const second_type& a_second) //
29-
noexcept(std::is_nothrow_copy_constructible_v<first_type>&&
30-
std::is_nothrow_copy_constructible_v<second_type>) //
29+
noexcept(std::is_nothrow_copy_constructible_v<first_type> &&
30+
std::is_nothrow_copy_constructible_v<second_type>) //
3131
requires(std::is_copy_constructible_v<first_type> &&
3232
std::is_copy_constructible_v<second_type>)
3333
:
@@ -40,8 +40,8 @@ namespace RE
4040
explicit(!std::is_convertible_v<U1&&, first_type> ||
4141
!std::is_convertible_v<U2&&, second_type>) //
4242
BSTTuple(U1&& a_first, U2&& a_second) //
43-
noexcept(std::is_nothrow_constructible_v<first_type, U1&&>&&
44-
std::is_nothrow_constructible_v<second_type, U2&&>) //
43+
noexcept(std::is_nothrow_constructible_v<first_type, U1&&> &&
44+
std::is_nothrow_constructible_v<second_type, U2&&>) //
4545
requires(std::is_constructible_v<first_type, U1 &&> &&
4646
std::is_constructible_v<second_type, U2 &&>)
4747
:
@@ -54,8 +54,8 @@ namespace RE
5454
explicit(!std::is_convertible_v<const U1&, first_type> ||
5555
!std::is_convertible_v<const U2&, second_type>) //
5656
BSTTuple(const BSTTuple<U1, U2>& a_rhs) //
57-
noexcept(std::is_nothrow_constructible_v<first_type, const U1&>&&
58-
std::is_nothrow_constructible_v<second_type, const U2&>) //
57+
noexcept(std::is_nothrow_constructible_v<first_type, const U1&> &&
58+
std::is_nothrow_constructible_v<second_type, const U2&>) //
5959
requires(std::is_constructible_v<first_type, const U1&> &&
6060
std::is_constructible_v<second_type, const U2&>)
6161
:
@@ -68,8 +68,8 @@ namespace RE
6868
explicit(!std::is_convertible_v<U1&&, first_type> ||
6969
!std::is_convertible_v<U2&&, second_type>) //
7070
BSTTuple(BSTTuple<U1, U2>&& a_rhs) //
71-
noexcept(std::is_nothrow_constructible_v<first_type, U1&&>&&
72-
std::is_nothrow_constructible_v<second_type, U2&&>) //
71+
noexcept(std::is_nothrow_constructible_v<first_type, U1&&> &&
72+
std::is_nothrow_constructible_v<second_type, U2&&>) //
7373
requires(std::is_constructible_v<first_type, U1 &&> &&
7474
std::is_constructible_v<second_type, U2 &&>)
7575
:
@@ -108,8 +108,8 @@ namespace RE
108108

109109
// 1)
110110
BSTTuple& operator=(const BSTTuple& a_rhs) //
111-
noexcept(std::is_nothrow_copy_assignable_v<first_type>&&
112-
std::is_nothrow_copy_assignable_v<second_type>) //
111+
noexcept(std::is_nothrow_copy_assignable_v<first_type> &&
112+
std::is_nothrow_copy_assignable_v<second_type>) //
113113
requires(std::is_copy_assignable_v<first_type> &&
114114
std::is_copy_assignable_v<second_type>)
115115
{
@@ -123,8 +123,8 @@ namespace RE
123123
// 2)
124124
template <class U1, class U2>
125125
BSTTuple& operator=(const BSTTuple<U1, U2>& a_rhs) //
126-
noexcept(std::is_nothrow_assignable_v<first_type&, const U1&>&&
127-
std::is_nothrow_assignable_v<second_type&, const U2&>) //
126+
noexcept(std::is_nothrow_assignable_v<first_type&, const U1&> &&
127+
std::is_nothrow_assignable_v<second_type&, const U2&>) //
128128
requires(std::is_assignable_v<first_type&, const U1&> &&
129129
std::is_assignable_v<second_type&, const U2&>)
130130
{
@@ -135,8 +135,8 @@ namespace RE
135135

136136
// 3)
137137
BSTTuple& operator=(BSTTuple&& a_rhs) //
138-
noexcept(std::is_nothrow_move_assignable_v<first_type>&&
139-
std::is_nothrow_move_assignable_v<second_type>) //
138+
noexcept(std::is_nothrow_move_assignable_v<first_type> &&
139+
std::is_nothrow_move_assignable_v<second_type>) //
140140
requires(std::is_move_assignable_v<first_type> &&
141141
std::is_move_assignable_v<second_type>)
142142
{
@@ -150,8 +150,8 @@ namespace RE
150150
// 4)
151151
template <class U1, class U2>
152152
BSTTuple& operator=(BSTTuple<U1, U2>&& a_rhs) //
153-
noexcept(std::is_nothrow_assignable_v<first_type&, U1>&&
154-
std::is_nothrow_assignable_v<second_type&, U2>) //
153+
noexcept(std::is_nothrow_assignable_v<first_type&, U1> &&
154+
std::is_nothrow_assignable_v<second_type&, U2>) //
155155
requires(std::is_assignable_v<first_type&, U1> &&
156156
std::is_assignable_v<second_type&, U2>)
157157
{
@@ -163,8 +163,8 @@ namespace RE
163163
TES_HEAP_REDEFINE_NEW();
164164

165165
void swap(BSTTuple& a_rhs) //
166-
noexcept(std::is_nothrow_swappable_v<first_type>&&
167-
std::is_nothrow_swappable_v<second_type>)
166+
noexcept(std::is_nothrow_swappable_v<first_type> &&
167+
std::is_nothrow_swappable_v<second_type>)
168168
{
169169
using std::swap;
170170
if (this != std::addressof(a_rhs)) {

include/RE/C/Color.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ namespace RE
4848
constexpr Color(std::uint32_t a_hexValue) noexcept :
4949
red((a_hexValue >> 16) & 0xFF),
5050
green((a_hexValue >> 8) & 0xFF),
51-
blue((a_hexValue)&0xFF),
51+
blue((a_hexValue) & 0xFF),
5252
alpha(0)
5353
{}
5454

include/RE/L/LoggingDisabler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace RE
1616
virtual ~LoggingDisabler() = default; // 00
1717

1818
// override (GFxLog)
19-
void LogMessageVarg([[maybe_unused]] LogMessageType a_messageType, [[maybe_unused]] const char* a_fmt, [[maybe_unused]] std::va_list a_argList) override{}; // 01
19+
void LogMessageVarg([[maybe_unused]] LogMessageType a_messageType, [[maybe_unused]] const char* a_fmt, [[maybe_unused]] std::va_list a_argList) override {}; // 01
2020
};
2121
static_assert(sizeof(LoggingDisabler) == 0x20);
2222
}

include/RE/N/NiColor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ namespace RE
4646
constexpr NiColor(std::uint32_t a_hexValue) noexcept :
4747
red(((a_hexValue >> 16) & 0xFF) / 255.0f),
4848
green(((a_hexValue >> 8) & 0xFF) / 255.0f),
49-
blue(((a_hexValue)&0xFF) / 255.0f)
49+
blue(((a_hexValue) & 0xFF) / 255.0f)
5050
{
5151
}
5252

include/RE/RTTI.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ namespace RE
3737
_rva(a_rva)
3838
{}
3939

40-
[[nodiscard]] pointer get() const { return is_good() ? REL::Relocation<T*>{ REL::Offset(_rva) }.get() : nullptr; }
41-
[[nodiscard]] std::uint32_t offset() const noexcept { return _rva; }
42-
[[nodiscard]] reference operator*() const { return *get(); }
43-
[[nodiscard]] pointer operator->() const { return get(); }
40+
[[nodiscard]] pointer get() const { return is_good() ? REL::Relocation<T*>{ REL::Offset(_rva) }.get() : nullptr; }
41+
[[nodiscard]] std::uint32_t offset() const noexcept { return _rva; }
42+
[[nodiscard]] reference operator*() const { return *get(); }
43+
[[nodiscard]] pointer operator->() const { return get(); }
4444
[[nodiscard]] explicit constexpr operator bool() const noexcept { return is_good(); }
4545

4646
protected:

0 commit comments

Comments
 (0)