diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-01 18:32:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-01 18:32:58 +0300 |
commit | 7b261cb926402f3d8e9b6ce0f9bdeaa26200fd5a (patch) | |
tree | 4f5a65868abf96fd53baf6b95eaddc1523834990 /src/being/being.h | |
parent | 8a9cba471fe49fd73342ee0b7a898f29539edb20 (diff) | |
download | manaverse-7b261cb926402f3d8e9b6ce0f9bdeaa26200fd5a.tar.gz manaverse-7b261cb926402f3d8e9b6ce0f9bdeaa26200fd5a.tar.bz2 manaverse-7b261cb926402f3d8e9b6ce0f9bdeaa26200fd5a.tar.xz manaverse-7b261cb926402f3d8e9b6ce0f9bdeaa26200fd5a.zip |
Fix pointers alias issue in Being::playSfx (detected by gcc 7)
Diffstat (limited to 'src/being/being.h')
-rw-r--r-- | src/being/being.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.h b/src/being/being.h index 9477abab5..ae4fe3dd8 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -900,7 +900,7 @@ class Being notfinal : public ActorSprite, { return mOwner; } void playSfx(const SoundInfo &sound, - Being *restrict const being, + Being *const being, const bool main, const int x, const int y) const restrict2; |