diff options
Diffstat (limited to 'src/utils/sdlmemoryobject.h')
-rw-r--r-- | src/utils/sdlmemoryobject.h | 5 |
1 files changed, 4 insertions, 1 deletions
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; |