mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Ref T557 Work around bug in GCC 5.
This commit is contained in:
@@ -141,7 +141,7 @@ namespace BlackMisc
|
||||
|
||||
//! True if m_flags contains all flags.
|
||||
template <typename Flags2>
|
||||
constexpr bool has(Flags2 flags) const { return (m_flags & flags) == flags; }
|
||||
constexpr bool has(Flags2 flags) const { return (MetaFlags<Flags>() & flags) == flags; }
|
||||
|
||||
//! Invoke the member on an instance of the value class.
|
||||
template <typename T, typename... Ts>
|
||||
|
||||
Reference in New Issue
Block a user