From ed3e08912656e05a2d364a8f782dfe87d8f9825d Mon Sep 17 00:00:00 2001 From: Koncord Date: Tue, 27 Jun 2017 22:56:02 +0800 Subject: [PATCH] [General] Use C++11 way to delete Ctor --- components/openmw-mp/Log.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/openmw-mp/Log.hpp b/components/openmw-mp/Log.hpp index 1dc0189c8..7483a3663 100644 --- a/components/openmw-mp/Log.hpp +++ b/components/openmw-mp/Log.hpp @@ -51,9 +51,9 @@ public: private: Log(int logLevel); /// Not implemented - Log(const Log &); + Log(const Log &) = delete; /// Not implemented - Log &operator=(Log &); + Log &operator=(Log &) = delete; static Log *sLog; int logLevel; };