Skip to content

Commit cf6e3fd

Browse files
committed
Fixing GCC compile error
1 parent d5a955f commit cf6e3fd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

include/boost/leaf/config/tls_win32.hpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ namespace detail
128128

129129
public:
130130

131-
slot_map()
131+
slot_map() noexcept
132132
{
133133
InitializeCriticalSection(&cs_);
134134
}
@@ -179,7 +179,9 @@ namespace detail
179179

180180
// This must be a literal type, dynamic initialization may break things
181181
// because the constructor may run after the tls callback is invoked.
182-
constexpr module_state() noexcept = default;
182+
constexpr module_state() noexcept
183+
{
184+
}
183185

184186
slot_map & sm() const noexcept
185187
{

0 commit comments

Comments
 (0)