summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-07-28 08:37:41 +0800
committerErik Kundiman <erik@megapahit.org>2024-07-28 08:37:41 +0800
commite2c78dd737615855d153f598ff04f0493999f26c (patch)
treed370d7113bd595ec8fb7d43fbfed5882c2dd48a2 /indra/newview
parent8686e3d6f1cff12fd252c705411c10f62e988e76 (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')
-rw-r--r--indra/newview/gltf/asset.cpp2
-rw-r--r--indra/newview/gltfscenemanager.cpp2
2 files changed, 2 insertions, 2 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());
diff --git a/indra/newview/gltfscenemanager.cpp b/indra/newview/gltfscenemanager.cpp
index 7b2de4d6de..f3be0e24b4 100644
--- a/indra/newview/gltfscenemanager.cpp
+++ b/indra/newview/gltfscenemanager.cpp
@@ -458,7 +458,7 @@ void GLTFSceneManager::update()
{
boost::json::object obj;
mUploadingAsset->serialize(obj);
- std::string buffer = boost::json::serialize(obj, {});
+ std::string buffer = boost::json::serialize(obj);
LLNewBufferedResourceUploadInfo::uploadFailure_f failure = [this](LLUUID assetId, LLSD response, std::string reason)
{