We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91f6e6e commit 7b55a94Copy full SHA for 7b55a94
src/net_permissions.h
@@ -43,7 +43,7 @@ class NetPermissions
43
public:
44
NetPermissionFlags m_flags;
45
static std::vector<std::string> ToStrings(NetPermissionFlags flags);
46
- static inline bool HasFlag(const NetPermissionFlags& flags, NetPermissionFlags f)
+ static inline bool HasFlag(NetPermissionFlags flags, NetPermissionFlags f)
47
{
48
return (flags & f) == f;
49
}
0 commit comments