diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-17 18:21:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-17 18:21:37 +0300 |
commit | fe4eff7bbf665cf356271c19feccb80b99cf877b (patch) | |
tree | b0d9e7fd4a5be4b1dd2ef5472953ed9aa718879d /src/utils/sdlmemoryobject.h | |
parent | 0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0 (diff) | |
download | mv-fe4eff7bbf665cf356271c19feccb80b99cf877b.tar.gz mv-fe4eff7bbf665cf356271c19feccb80b99cf877b.tar.bz2 mv-fe4eff7bbf665cf356271c19feccb80b99cf877b.tar.xz mv-fe4eff7bbf665cf356271c19feccb80b99cf877b.zip |
Add missing A_DEFAULT_COPY / A_DELETE_COPY into utils.
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; |