diff options
-rw-r--r-- | libbutl/semantic-version.mxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libbutl/semantic-version.mxx b/libbutl/semantic-version.mxx index b095f01..c50a290 100644 --- a/libbutl/semantic-version.mxx +++ b/libbutl/semantic-version.mxx @@ -148,37 +148,37 @@ LIBBUTL_MODEXPORT namespace butl // NOTE: comparison operators take the build component into account. // inline bool - operator< (const semantic_version& x, const semantic_version& y) noexcept + operator< (const semantic_version& x, const semantic_version& y) { return x.compare (y) < 0; } inline bool - operator> (const semantic_version& x, const semantic_version& y) noexcept + operator> (const semantic_version& x, const semantic_version& y) { return x.compare (y) > 0; } inline bool - operator== (const semantic_version& x, const semantic_version& y) noexcept + operator== (const semantic_version& x, const semantic_version& y) { return x.compare (y) == 0; } inline bool - operator<= (const semantic_version& x, const semantic_version& y) noexcept + operator<= (const semantic_version& x, const semantic_version& y) { return x.compare (y) <= 0; } inline bool - operator>= (const semantic_version& x, const semantic_version& y) noexcept + operator>= (const semantic_version& x, const semantic_version& y) { return x.compare (y) >= 0; } inline bool - operator!= (const semantic_version& x, const semantic_version& y) noexcept + operator!= (const semantic_version& x, const semantic_version& y) { return !(x == y); } |