diff options
author | madmaxoft <github@xoft.cz> | 2014-08-03 11:57:05 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-08-03 22:04:48 +0200 |
commit | 6ce61d1a6fd912c99284875a9052475e06fba432 (patch) | |
tree | b0eea911ec83c3b99997df7521f5302e670a2574 /src/Globals.h | |
parent | Merge branch 'master' of https://github.com/mc-server/MCServer (diff) | |
download | cuberite-6ce61d1a6fd912c99284875a9052475e06fba432.tar cuberite-6ce61d1a6fd912c99284875a9052475e06fba432.tar.gz cuberite-6ce61d1a6fd912c99284875a9052475e06fba432.tar.bz2 cuberite-6ce61d1a6fd912c99284875a9052475e06fba432.tar.lz cuberite-6ce61d1a6fd912c99284875a9052475e06fba432.tar.xz cuberite-6ce61d1a6fd912c99284875a9052475e06fba432.tar.zst cuberite-6ce61d1a6fd912c99284875a9052475e06fba432.zip |
Diffstat (limited to 'src/Globals.h')
-rw-r--r-- | src/Globals.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Globals.h b/src/Globals.h index b35af9604..60ee456c9 100644 --- a/src/Globals.h +++ b/src/Globals.h @@ -156,11 +156,11 @@ template class SizeChecker<UInt64, 8>; template class SizeChecker<UInt32, 4>; template class SizeChecker<UInt16, 2>; -// A macro to disallow the copy constructor and operator= functions +// A macro to disallow the copy constructor and operator = functions // This should be used in the private: declarations for any class that shouldn't allow copying itself #define DISALLOW_COPY_AND_ASSIGN(TypeName) \ TypeName(const TypeName &); \ - void operator=(const TypeName &) + void operator =(const TypeName &) // A macro that is used to mark unused function parameters, to avoid pedantic warnings in gcc #define UNUSED(X) (void)(X) |