mirror of
https://github.com/syoyo/tinygltf.git
synced 2026-11-02 05:55:42 +00:00
Revert accidental committed change
Put "JsonX" helpers back in anonymous namespace to keep them inside local translation unit.
This commit is contained in:
+3
-3
@@ -5644,8 +5644,8 @@ bool TinyGLTF::LoadBinaryFromFile(Model *model, std::string *err,
|
||||
///////////////////////
|
||||
// GLTF Serialization
|
||||
///////////////////////
|
||||
//namespace
|
||||
//{
|
||||
namespace
|
||||
{
|
||||
json JsonFromString(const char* s)
|
||||
{
|
||||
#ifdef TINYGLTF_USE_RAPIDJSON
|
||||
@@ -5735,7 +5735,7 @@ bool TinyGLTF::LoadBinaryFromFile(Model *model, std::string *err,
|
||||
(void)(o);
|
||||
(void)(s);
|
||||
}
|
||||
//}
|
||||
}
|
||||
|
||||
// typedef std::pair<std::string, json> json_object_pair;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user