diff options
Diffstat (limited to 'src/openvic-simulation/pop/Pop.hpp')
-rw-r--r-- | src/openvic-simulation/pop/Pop.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-simulation/pop/Pop.hpp b/src/openvic-simulation/pop/Pop.hpp index 5a4cebf..4e173bb 100644 --- a/src/openvic-simulation/pop/Pop.hpp +++ b/src/openvic-simulation/pop/Pop.hpp @@ -184,7 +184,7 @@ namespace OpenVic { template<> struct enable_bitfield<PopType::income_type_t> : std::true_type {}; /* This returns true if at least one income type is shared by both arguments. */ - constexpr inline bool share_income_type(PopType::income_type_t lhs, PopType::income_type_t rhs) { + inline constexpr bool share_income_type(PopType::income_type_t lhs, PopType::income_type_t rhs) { return (lhs & rhs) != PopType::income_type_t::NO_INCOME_TYPE; } |