diff options
Diffstat (limited to 'absl/strings/string_view.h')
-rw-r--r-- | absl/strings/string_view.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/absl/strings/string_view.h b/absl/strings/string_view.h index a7f91992..4a5e4d8a 100644 --- a/absl/strings/string_view.h +++ b/absl/strings/string_view.h @@ -35,7 +35,9 @@ #include <string_view> namespace absl { +inline namespace lts_2018_06_20 { using std::string_view; +} // inline namespace lts_2018_06_20 } // namespace absl #else // ABSL_HAVE_STD_STRING_VIEW @@ -53,6 +55,7 @@ using std::string_view; #include "absl/base/port.h" namespace absl { +inline namespace lts_2018_06_20 { // absl::string_view // @@ -540,11 +543,13 @@ inline bool operator>=(string_view x, string_view y) noexcept { // IO Insertion Operator std::ostream& operator<<(std::ostream& o, string_view piece); +} // inline namespace lts_2018_06_20 } // namespace absl #endif // ABSL_HAVE_STD_STRING_VIEW namespace absl { +inline namespace lts_2018_06_20 { // ClippedSubstr() // @@ -565,6 +570,7 @@ inline string_view NullSafeStringView(const char* p) { return p ? string_view(p) : string_view(); } +} // inline namespace lts_2018_06_20 } // namespace absl #endif // ABSL_STRINGS_STRING_VIEW_H_ |