mirror of
https://github.com/nlohmann/json.git
synced 2026-02-11 00:12:30 +00:00
🏗️ adding anonymous namespace
This commit is contained in:
@@ -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