diff options
Diffstat (limited to 'libcxx/src/experimental/filesystem')
-rw-r--r-- | libcxx/src/experimental/filesystem/filesystem_common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/src/experimental/filesystem/filesystem_common.h b/libcxx/src/experimental/filesystem/filesystem_common.h index 7be16746016..43453a0ad0a 100644 --- a/libcxx/src/experimental/filesystem/filesystem_common.h +++ b/libcxx/src/experimental/filesystem/filesystem_common.h @@ -118,11 +118,11 @@ T error_value(); template <> _LIBCPP_CONSTEXPR_AFTER_CXX11 void error_value<void>() {} template <> -constexpr bool error_value<bool>() { +bool error_value<bool>() { return false; } template <> -constexpr uintmax_t error_value<uintmax_t>() { +uintmax_t error_value<uintmax_t>() { return uintmax_t(-1); } template <> |