[libcxx] Remove ifdefs in the message to static_assert. NFC.
authorMartin Storsjö <martin@martin.st>
Tue, 15 Dec 2020 07:15:37 +0000 (09:15 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 17 Dec 2020 11:37:52 +0000 (13:37 +0200)
Differential Revision: https://reviews.llvm.org/D93283

libcxx/include/filesystem

index 1a44d9f..764ec65 100644 (file)
@@ -1236,11 +1236,7 @@ _LIBCPP_INLINE_VISIBILITY _LIBCPP_DEPRECATED_WITH_CHAR8_T
 #endif
       is_same<typename __is_pathable<_Source>::__char_type, char>::value,
       "u8path(Source const&) requires Source have a character type of type "
-      "'char'"
-#ifndef _LIBCPP_NO_HAS_CHAR8_T
-      " or 'char8_t'"
-#endif
-      );
+      "'char' or 'char8_t'");
   return path(__s);
 }
 
@@ -1254,10 +1250,7 @@ _LIBCPP_INLINE_VISIBILITY _LIBCPP_DEPRECATED_WITH_CHAR8_T
 #endif
       is_same<typename __is_pathable<_InputIt>::__char_type, char>::value,
       "u8path(Iter, Iter) requires Iter have a value_type of type 'char'"
-#ifndef _LIBCPP_NO_HAS_CHAR8_T
-      " or 'char8_t'"
-#endif
-      );
+      " or 'char8_t'");
   return path(__f, __l);
 }