mirror of
https://github.com/nlohmann/json.git
synced 2026-11-18 05:00:19 +00:00
🏗️ adding anonymous namespace
This commit is contained in:
16 files changed
+51
-8
No files matched your search
@@ -32,6 +32,8 @@ SOFTWARE.
|
||||
#include <nlohmann/json.hpp>
|
||||
using nlohmann::json;
|
||||
|
||||
namespace
|
||||
{
|
||||
bool wstring_is_utf16();
|
||||
bool wstring_is_utf16()
|
||||
{
|
||||
@@ -49,6 +51,7 @@ bool u32string_is_utf32()
|
||||
{
|
||||
return (std::u32string(U"💩") == std::u32string(U"\U0001F4A9"));
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("wide strings")
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user