mirror of
https://gitea.windcorp.ru/Wind-Corporation/Progressia.git
synced 2025-08-28 10:36:50 +03:00
TMP / Made {GLFW,Vulkan}Managers more OO
This commit is contained in:
12
main/util.h
12
main/util.h
@@ -29,6 +29,18 @@
|
||||
}
|
||||
// clang-format on
|
||||
|
||||
// clang-format off
|
||||
#define DISABLE_MOVING(CLASS) \
|
||||
CLASS &operator=(CLASS &&) = delete; \
|
||||
CLASS(CLASS &&) = delete; \
|
||||
// clang-format on
|
||||
|
||||
// clang-format off
|
||||
#define DISABLE_COPYING(CLASS) \
|
||||
CLASS &operator=(const CLASS &) = delete; \
|
||||
CLASS(const CLASS &) = delete; \
|
||||
// clang-format on
|
||||
|
||||
namespace progressia::main {
|
||||
|
||||
struct NonCopyable {
|
||||
|
Reference in New Issue
Block a user