mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-14 11:45:59 +08:00
Revert accidental committed change
Put "JsonX" helpers back in anonymous namespace to keep them inside local translation unit.
This commit is contained in:
parent
06c30c4d04
commit
63419a11e1
@ -5644,8 +5644,8 @@ bool TinyGLTF::LoadBinaryFromFile(Model *model, std::string *err,
|
|||||||
///////////////////////
|
///////////////////////
|
||||||
// GLTF Serialization
|
// GLTF Serialization
|
||||||
///////////////////////
|
///////////////////////
|
||||||
//namespace
|
namespace
|
||||||
//{
|
{
|
||||||
json JsonFromString(const char* s)
|
json JsonFromString(const char* s)
|
||||||
{
|
{
|
||||||
#ifdef TINYGLTF_USE_RAPIDJSON
|
#ifdef TINYGLTF_USE_RAPIDJSON
|
||||||
@ -5735,7 +5735,7 @@ bool TinyGLTF::LoadBinaryFromFile(Model *model, std::string *err,
|
|||||||
(void)(o);
|
(void)(o);
|
||||||
(void)(s);
|
(void)(s);
|
||||||
}
|
}
|
||||||
//}
|
}
|
||||||
|
|
||||||
// typedef std::pair<std::string, json> json_object_pair;
|
// typedef std::pair<std::string, json> json_object_pair;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user