aboutsummaryrefslogtreecommitdiff
path: root/libcxx/src/strstream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/src/strstream.cpp')
-rw-r--r--libcxx/src/strstream.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcxx/src/strstream.cpp b/libcxx/src/strstream.cpp
index e62c077..fe7e2d41 100644
--- a/libcxx/src/strstream.cpp
+++ b/libcxx/src/strstream.cpp
@@ -6,6 +6,7 @@
//
//===----------------------------------------------------------------------===//
+#include <__utility/unreachable.h>
#include "strstream"
#include "algorithm"
#include "climits"
@@ -268,7 +269,7 @@ strstreambuf::seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmod
newoff = seekhigh - eback();
break;
default:
- _LIBCPP_UNREACHABLE();
+ __libcpp_unreachable();
}
newoff += __off;
if (0 <= newoff && newoff <= seekhigh - eback())