mirror of
https://github.com/boostorg/core.git
synced 2025-11-28 21:30:09 +01:00
Fix msvc-14.0 failure
This commit is contained in:
@@ -573,12 +573,12 @@ public:
|
||||
|
||||
// relational operators
|
||||
|
||||
BOOST_CONSTEXPR friend bool operator==( basic_string_view sv1, basic_string_view sv2 ) BOOST_NOEXCEPT
|
||||
BOOST_CXX14_CONSTEXPR friend bool operator==( basic_string_view sv1, basic_string_view sv2 ) BOOST_NOEXCEPT
|
||||
{
|
||||
return sv1.compare( sv2 ) == 0;
|
||||
}
|
||||
|
||||
BOOST_CONSTEXPR friend bool operator!=( basic_string_view sv1, basic_string_view sv2 ) BOOST_NOEXCEPT
|
||||
BOOST_CXX14_CONSTEXPR friend bool operator!=( basic_string_view sv1, basic_string_view sv2 ) BOOST_NOEXCEPT
|
||||
{
|
||||
return sv1.compare( sv2 ) != 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user