mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
Fix c++11 warnings on clang
- namespace x::y is C++17 - static_assert requires message in C++11
This commit is contained in:
+6
-2
@@ -1,6 +1,8 @@
|
||||
#include "simdjson/error.h"
|
||||
|
||||
namespace simdjson::internal {
|
||||
namespace simdjson {
|
||||
namespace internal {
|
||||
|
||||
SIMDJSON_DLLIMPORTEXPORT const error_code_info error_codes[] {
|
||||
{ SUCCESS, "No error" },
|
||||
{ SUCCESS_AND_HAS_MORE, "No error and buffer still has more data" },
|
||||
@@ -28,4 +30,6 @@ namespace simdjson::internal {
|
||||
{ INVALID_URI_FRAGMENT, "Invalid URI fragment syntax." },
|
||||
{ UNEXPECTED_ERROR, "Unexpected error, consider reporting this problem as you may have found a bug in simdjson" }
|
||||
}; // error_messages[]
|
||||
}
|
||||
|
||||
} // namespace internal
|
||||
} // namespace simdjson
|
||||
Reference in New Issue
Block a user