From 17f12ecc2fbd83a07acad5678561a8127fa2342d Mon Sep 17 00:00:00 2001 From: kiritow <1362050620@qq.com> Date: Sat, 1 Jul 2017 14:48:58 +0800 Subject: [PATCH] Add Nonmoveable --- SDLWrapper/__Nonmoveable.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 SDLWrapper/__Nonmoveable.h diff --git a/SDLWrapper/__Nonmoveable.h b/SDLWrapper/__Nonmoveable.h new file mode 100644 index 0000000..6a6cce1 --- /dev/null +++ b/SDLWrapper/__Nonmoveable.h @@ -0,0 +1,9 @@ +#pragma once +#include "begin_code.h" +class NonMoveable +{ +public: + NonMoveable(NonMoveable&&) =delete; + NonMoveable& operator = (NonMoveable&&)=delete; +}; +#include "end_code.h"