aboutsummaryrefslogtreecommitdiffstats
path: root/include/string_view
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-12-24 01:00:43 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-12-24 01:00:43 +0000
commitc900243a09095e1ada97fb2e66ec08f68f277959 (patch)
treea27aa310f08ab03bb4eead4e773d3837c9f46b32 /include/string_view
parent0564cdb94a7a1facbb0dbf888ceb90638aa70ecd (diff)
downloadsrc-c900243a09095e1ada97fb2e66ec08f68f277959.tar.gz
src-c900243a09095e1ada97fb2e66ec08f68f277959.zip
Notes
Notes: svn path=/vendor/libc++/dist/; revision=327128 svn path=/vendor/libc++/libc++-trunk-r321426/; revision=327157; tag=vendor/libc++/libc++-trunk-r321426
Diffstat (limited to 'include/string_view')
-rw-r--r--include/string_view4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/string_view b/include/string_view
index 4d8358288f0c..72cf816e8d52 100644
--- a/include/string_view
+++ b/include/string_view
@@ -196,9 +196,9 @@ public:
// types
typedef _Traits traits_type;
typedef _CharT value_type;
- typedef const _CharT* pointer;
+ typedef _CharT* pointer;
typedef const _CharT* const_pointer;
- typedef const _CharT& reference;
+ typedef _CharT& reference;
typedef const _CharT& const_reference;
typedef const_pointer const_iterator; // See [string.view.iterators]
typedef const_iterator iterator;