diff --git a/tiny_gltf.h b/tiny_gltf.h index 30c2e55..60fe4e6 100644 --- a/tiny_gltf.h +++ b/tiny_gltf.h @@ -4828,7 +4828,7 @@ static void SerializeExtensionMap(ExtensionMap &extensions, json &o) { if (!(extIt->first.empty())) { // name should not be empty, but for sure // create empty object so that an extension name is still included in // json. - extMap[extIt->first] = json({}); + extMap[extIt->first] = json(std::initializer_list>>()); } } }