summaryrefslogtreecommitdiff
path: root/src/utils/sdlmemoryobject.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-17 18:21:37 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-17 18:21:37 +0300
commitfe4eff7bbf665cf356271c19feccb80b99cf877b (patch)
treeb0d9e7fd4a5be4b1dd2ef5472953ed9aa718879d /src/utils/sdlmemoryobject.h
parent0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0 (diff)
downloadplus-fe4eff7bbf665cf356271c19feccb80b99cf877b.tar.gz
plus-fe4eff7bbf665cf356271c19feccb80b99cf877b.tar.bz2
plus-fe4eff7bbf665cf356271c19feccb80b99cf877b.tar.xz
plus-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.h5
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;