From fe4eff7bbf665cf356271c19feccb80b99cf877b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Jan 2017 18:21:37 +0300 Subject: Add missing A_DEFAULT_COPY / A_DELETE_COPY into utils. --- src/utils/sdlmemoryobject.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/utils/sdlmemoryobject.h') diff --git a/src/utils/sdlmemoryobject.h b/src/utils/sdlmemoryobject.h index 4fec1c5f9..daab75088 100644 --- a/src/utils/sdlmemoryobject.h +++ b/src/utils/sdlmemoryobject.h @@ -33,7 +33,8 @@ struct SDLMemoryObject final { - SDLMemoryObject(const std::string &name, const char *const file, + SDLMemoryObject(const std::string &name, + const char *const file, const unsigned int line) : mName(name), mAddFile(strprintf("%s:%u", file, line)), @@ -42,6 +43,8 @@ struct SDLMemoryObject final { } + A_DELETE_COPY(SDLMemoryObject) + std::string mName; std::string mAddFile; std::string mRemoveFile; -- cgit v1.2.3-70-g09d2