aboutsummaryrefslogtreecommitdiff
path: root/libcxx/src/filesystem/filesystem_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/src/filesystem/filesystem_common.h')
-rw-r--r--libcxx/src/filesystem/filesystem_common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/src/filesystem/filesystem_common.h b/libcxx/src/filesystem/filesystem_common.h
index 99bba27..211b778 100644
--- a/libcxx/src/filesystem/filesystem_common.h
+++ b/libcxx/src/filesystem/filesystem_common.h
@@ -14,11 +14,11 @@
#include "chrono"
#include "climits"
#include "cstdarg"
-#include "cstdlib"
#include "ctime"
#include "filesystem"
#include "ratio"
#include "system_error"
+#include <utility>
#if defined(_LIBCPP_WIN32API)
# define WIN32_LEAN_AND_MEAN
@@ -178,7 +178,7 @@ struct ErrorHandler {
case 2:
__throw_filesystem_error(what, *p1_, *p2_, ec);
}
- _LIBCPP_UNREACHABLE();
+ __libcpp_unreachable();
}
_LIBCPP_ATTRIBUTE_FORMAT(__printf__, 3, 0)
@@ -197,7 +197,7 @@ struct ErrorHandler {
case 2:
__throw_filesystem_error(what, *p1_, *p2_, ec);
}
- _LIBCPP_UNREACHABLE();
+ __libcpp_unreachable();
}
_LIBCPP_ATTRIBUTE_FORMAT(__printf__, 3, 4)