calc: on editing invalidation of view with different zoom is wrong
[LibreOffice.git] / external / zxing / assume.__cpp_lib_string_view.patch.0
blob24593aa569467b41393e002327395bd111c7de0a
1 --- ./core/src/ByteArray.h      2022-12-05 10:05:07.330193204 +0000
2 +++ ./core/src/ByteArray.h      2022-12-05 10:05:13.897892011 +0000
3 @@ -11,9 +11,7 @@
4  #include <string>
5  #include <vector>
6  
7 -#ifdef __cpp_lib_string_view
8  #include <string_view>
9 -#endif
11  namespace ZXing {
13 @@ -30,12 +28,10 @@
15         void append(const ByteArray& other) { insert(end(), other.begin(), other.end()); }
17 -#ifdef __cpp_lib_string_view
18         std::string_view asString(size_t pos = 0, size_t len = std::string_view::npos) const
19         {
20                 return std::string_view(reinterpret_cast<const char*>(data()), size()).substr(pos, len);
21         }
22 -#endif
23  };
25  inline std::string ToHex(const ByteArray& bytes)