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/Entities | |
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/Entities')
-rw-r--r-- | src/Entities/EntityEffect.cpp | 2 | ||||
-rw-r--r-- | src/Entities/EntityEffect.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/EntityEffect.cpp b/src/Entities/EntityEffect.cpp index 39314f256..3e28392f4 100644 --- a/src/Entities/EntityEffect.cpp +++ b/src/Entities/EntityEffect.cpp @@ -170,7 +170,7 @@ cEntityEffect::cEntityEffect(const cEntityEffect & a_OtherEffect): -cEntityEffect & cEntityEffect::operator=(cEntityEffect a_OtherEffect) +cEntityEffect & cEntityEffect::operator =(cEntityEffect a_OtherEffect) { std::swap(m_Ticks, a_OtherEffect.m_Ticks); std::swap(m_Duration, a_OtherEffect.m_Duration); diff --git a/src/Entities/EntityEffect.h b/src/Entities/EntityEffect.h index f9c1e4eb2..47c298f57 100644 --- a/src/Entities/EntityEffect.h +++ b/src/Entities/EntityEffect.h @@ -71,7 +71,7 @@ public: /** Creates an entity effect by copying another @param a_OtherEffect The other effect to copy */ - cEntityEffect & operator=(cEntityEffect a_OtherEffect); + cEntityEffect & operator =(cEntityEffect a_OtherEffect); virtual ~cEntityEffect(void) {} |