Make sure the "==" operator is inline in arguments.hpp

This commit is contained in:
Username404 2021-09-23 19:03:44 +02:00
parent fa9dacc23c
commit 2de8ce3e43
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ protected:
return (not str.empty()) && longVersion == str && hasPrefix;
}
public:
bool operator ==(const string_view& it) { return is(it); }
inline bool operator ==(const string_view& it) { return is(it); }
explicit Argument(string name): longVersion(move(name)) {}
};