We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a0c0c3 commit d4ff5d5Copy full SHA for d4ff5d5
src/editors/xrWeatherEditor/window_weather_editor.cpp
@@ -21,10 +21,14 @@ using Microsoft::Win32::Registry;
21
using Microsoft::Win32::RegistryKey;
22
using Microsoft::Win32::RegistryValueKind;
23
24
-struct engine_pauser_guard : private boost::noncopyable {
+struct engine_pauser_guard {
25
engine& m_engine;
26
bool m_weather_paused;
27
28
+ // Non-copyable
29
+ engine_pauser_guard(const engine_pauser_guard&) = delete;
30
+ engine_pauser_guard& operator=(const engine_pauser_guard&) = delete;
31
+
32
inline engine_pauser_guard (engine& engine, bool const& value) :
33
m_engine (engine),
34
m_weather_paused (engine.weather_paused())
0 commit comments