From e2c78dd737615855d153f598ff04f0493999f26c Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Sun, 28 Jul 2024 08:37:41 +0800 Subject: 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. --- indra/newview/gltf/asset.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview/gltf') 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()); -- cgit v1.2.3