diff options
author | Stijn Buys <ingar@osirion.org> | 2017-07-09 13:04:26 +0200 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2017-07-09 13:04:26 +0200 |
commit | 9ec090567986b5d273c90cceaceae42922b84afe (patch) | |
tree | d75f95564ff58e2cf148ae6018f7377f63f1791c /src/core/entity.h | |
parent | e5d987a988cf66aaeb6d11579bd278df9daf8118 (diff) |
Fixed a gcc 7 warning.
Diffstat (limited to 'src/core/entity.h')
-rw-r--r-- | src/core/entity.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/entity.h b/src/core/entity.h index 27d888c..3e0cea8 100644 --- a/src/core/entity.h +++ b/src/core/entity.h @@ -142,7 +142,7 @@ public: return entity_flags; } - /// returns true of a flag is set + /// returns true if an entity flag is set inline const bool has_flag(const Flags flag) const { return ((entity_flags & (unsigned int)flag) == (unsigned int)flag); |