Noexcept all the things!

This commit is contained in:
Jérôme Leclercq
2018-06-12 11:37:44 +02:00
parent 456f2b32e7
commit 15f84dc712
37 changed files with 72 additions and 91 deletions

View File

@@ -9,6 +9,7 @@
#include <Nazara/Prerequisites.hpp>
#include <Nazara/Core/Color.hpp>
#include <Nazara/Core/MovablePtr.hpp>
#include <Nazara/Core/String.hpp>
#include <atomic>
#include <unordered_map>
@@ -72,7 +73,7 @@ namespace Nz
std::atomic_uint counter;
Destructor destructor;
void* ptr;
MovablePtr<void> ptr;
};
ParameterType type;
@@ -81,6 +82,7 @@ namespace Nz
// We define an empty constructor/destructor, to be able to put classes in the union
Value() {}
Value(const Value&) {} // Placeholder
Value(Value&&) noexcept {} // Placeholder
~Value() {}
bool boolVal;