From 2de8ce3e43e0160450a1cf6b5870cef140233416 Mon Sep 17 00:00:00 2001 From: Username404 <w.iron.zombie@gmail.com> Date: Thu, 23 Sep 2021 19:03:44 +0200 Subject: [PATCH] Make sure the "==" operator is inline in arguments.hpp --- src/headers/arguments.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/headers/arguments.hpp b/src/headers/arguments.hpp index 98e18b8..9ef002b 100644 --- a/src/headers/arguments.hpp +++ b/src/headers/arguments.hpp @@ -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)) {} };