summaryrefslogtreecommitdiff
path: root/include/o3tl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-11-29 13:45:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-11-30 08:25:13 +0100
commit83102e4fa21e22ae18d2bbd19e29b1d37f50bab9 (patch)
treeb979377c22ffead4ff842eb4cdb3a18899cb7c94 /include/o3tl
parentf3ea5e21bea80004b04edbf0287d4a2e1aaef5d0 (diff)
Remove obsolete _MSC_VER checks
...after 206b8c4ae320d7d8614f21800d8f77fa29f8f5ff "On Windows, check for at least Visual Studio 2017 version 15.7" Change-Id: I38ee86e1649bbdc828a7e328f2dbbac0dc163c8a Reviewed-on: https://gerrit.libreoffice.org/64250 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/o3tl')
-rw-r--r--include/o3tl/string_view.hxx11
1 files changed, 1 insertions, 10 deletions
diff --git a/include/o3tl/string_view.hxx b/include/o3tl/string_view.hxx
index bdc81e8d7261..4da7fcf0bf0f 100644
--- a/include/o3tl/string_view.hxx
+++ b/include/o3tl/string_view.hxx
@@ -177,16 +177,7 @@ public:
#if HAVE_CXX14_CONSTEXPR
constexpr
#endif
- basic_string_view & operator =(basic_string_view const & other) noexcept
-#if defined _MSC_VER && _MSC_VER <= 1900 && !defined __clang__
- {
- data_ = other.data_;
- size_ = other.size_;
- return *this;
- }
-#else
- = default;
-#endif
+ basic_string_view & operator =(basic_string_view const & other) noexcept = default;
// The various character types are handled below in the "LO specifics, to
// make up for traits::length not necessarily being constexpr yet for