diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-07-28 08:37:41 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-07-28 08:37:41 +0800 |
commit | e2c78dd737615855d153f598ff04f0493999f26c (patch) | |
tree | d370d7113bd595ec8fb7d43fbfed5882c2dd48a2 /indra/newview/gltf | |
parent | 8686e3d6f1cff12fd252c705411c10f62e988e76 (diff) |
Remove boost::json::serialize second arguments
to make it build with Boost older than 1.83. The argument that
has been passed so far is {}, which would be implied for that
parameter in newer Boost anyway.
Diffstat (limited to 'indra/newview/gltf')
-rw-r--r-- | indra/newview/gltf/asset.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/gltf/asset.cpp b/indra/newview/gltf/asset.cpp index a454e68a92..24df41c6b3 100644 --- a/indra/newview/gltf/asset.cpp +++ b/indra/newview/gltf/asset.cpp @@ -903,7 +903,7 @@ bool Asset::save(const std::string& filename) // save .gltf object obj; serialize(obj); - std::string buffer = boost::json::serialize(obj, {}); + std::string buffer = boost::json::serialize(obj); std::ofstream file(filename, std::ios::binary); file.write(buffer.c_str(), buffer.size()); |