We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f54f8ea commit 89c1587Copy full SHA for 89c1587
libc/src/__support/CPP/string.h
@@ -109,7 +109,7 @@ class string {
109
LIBC_INLINE constexpr const char &front() const LIBC_LIFETIMEBOUND {
110
return data()[0];
111
}
112
- LIBC_INLINE char &front() { return data()[0]; }
+ LIBC_INLINE char &front() LIBC_LIFETIMEBOUND { return data()[0]; }
113
114
LIBC_INLINE constexpr const char &back() const LIBC_LIFETIMEBOUND {
115
return data()[size_ - 1];
0 commit comments