diff options
-rw-r--r-- | src/net_permissions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net_permissions.h b/src/net_permissions.h index 142b317bf6..4f64a9d6ec 100644 --- a/src/net_permissions.h +++ b/src/net_permissions.h @@ -43,7 +43,7 @@ class NetPermissions public: NetPermissionFlags m_flags; static std::vector<std::string> ToStrings(NetPermissionFlags flags); - static inline bool HasFlag(const NetPermissionFlags& flags, NetPermissionFlags f) + static inline bool HasFlag(NetPermissionFlags flags, NetPermissionFlags f) { return (flags & f) == f; } |