summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-01 18:32:58 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-01 18:32:58 +0300
commit7b261cb926402f3d8e9b6ce0f9bdeaa26200fd5a (patch)
tree4f5a65868abf96fd53baf6b95eaddc1523834990 /src/being/being.cpp
parent8a9cba471fe49fd73342ee0b7a898f29539edb20 (diff)
downloadplus-7b261cb926402f3d8e9b6ce0f9bdeaa26200fd5a.tar.gz
plus-7b261cb926402f3d8e9b6ce0f9bdeaa26200fd5a.tar.bz2
plus-7b261cb926402f3d8e9b6ce0f9bdeaa26200fd5a.tar.xz
plus-7b261cb926402f3d8e9b6ce0f9bdeaa26200fd5a.zip
Fix pointers alias issue in Being::playSfx (detected by gcc 7)
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 1e63b9b98..90638ef55 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -4762,7 +4762,7 @@ void Being::addEffect(const std::string &restrict name) restrict2
}
void Being::playSfx(const SoundInfo &sound,
- Being *restrict const being,
+ Being *const being,
const bool main,
const int x, const int y) const restrict2
{