summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2026-05-09 22:01:54 +0800
committerErik Kundiman <erik@megapahit.org>2026-05-09 22:01:54 +0800
commit38c6fad4447f3d96efc523b62c6bed25e075a918 (patch)
tree2fc663d522a964b021f343ffda042223b1535c4d /indra
parent128780760826b13482eb2294ca7bb1f6f1962665 (diff)
Fix Boost JSON 1.91 compile error on WindowsHEADmain
The error was: C:\Users\erik\Documents\vcpkg\installed\arm64-windows\include\boost\json\detail\value_from.hpp(152,9): error C2338: static assertion failed: 'No suitable tag_invoke overload found for the typ e' [C:\Users\erik\Documents\Megapahit\viewer\build-mingw64_nt-10.0-26200-arm64\newview\Megapahit.vcxproj] (compiling source file '../../indra/newview/llviewerdisplay.cpp') C:\Users\erik\Documents\vcpkg\installed\arm64-windows\include\boost\json\detail\value_from.hpp(152,9): the template instantiation context (the oldest one first) is C:\Users\erik\Documents\Megapahit\viewer\indra\newview\llviewerdisplay.cpp(1112,48): see reference to function template instantiation 'boost::json::value_ref::value_ref<T>(const T &,void *) noexcept' being compiled with [ T=boost::json::object_kind_t ] C:\Users\erik\Documents\vcpkg\installed\arm64-windows\include\boost\json\value_ref.hpp(230,1): see reference to function template instantiation 'boost::json::value boost::json::value_ref::from_const<T>(const void *,boost::json::storage_ptr)' being compiled with [ T=boost::json::object_kind_t ] C:\Users\erik\Documents\vcpkg\installed\arm64-windows\include\boost\json\impl\value_ref.hpp(29,12): see reference to function template instantiation 'boost::json::value boost::json::value_from<const T&>(const boost::json::object_kind_t&,boost::json::storage_ptr)' being compiled with [ T=boost::json::object_kind_t ] C:\Users\erik\Documents\vcpkg\installed\arm64-windows\include\boost\json\value_from.hpp(146,11): see reference to function template instantiation 'boost::json::value boost::json::value_from<const T&,boost::json::detail::no_context>(const boost::json::object_kind_t&,const Contex t &,boost::json::storage_ptr)' being compiled with [ T=boost::json::object_kind_t, Context=boost::json::detail::no_context ] C:\Users\erik\Documents\vcpkg\installed\arm64-windows\include\boost\json\value_from.hpp(125,5): see reference to function template instantiation 'void boost::json::value_from<const T&,Context>(const boost::json::object_kind_t&,const Context &,boost::json::value &)' being compi led with [ T=boost::json::object_kind_t, Context=boost::json::detail::no_context ] C:\Users\erik\Documents\vcpkg\installed\arm64-windows\include\boost\json\value_from.hpp(97,13): see reference to function template instantiation 'void boost::json::detail::value_from_impl<const T&,Context>(boost::json::detail::no_conversion_tag,boost::json::value &,const boost ::json::object_kind_t&,const Ctx &)' being compiled with [ T=boost::json::object_kind_t, Context=boost::json::detail::no_context, Ctx=boost::json::detail::no_context ]
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llviewerdisplay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerdisplay.cpp b/indra/newview/llviewerdisplay.cpp
index 314e32bffd..e8516ab5a7 100644
--- a/indra/newview/llviewerdisplay.cpp
+++ b/indra/newview/llviewerdisplay.cpp
@@ -1109,7 +1109,7 @@ void display(bool rebuild, F32 zoom_factor, int subfield, bool for_snapshot)
if (gShaderProfileFrame)
{
gShaderProfileFrame = false;
- boost::json::value stats{ boost::json::object_kind };
+ boost::json::value stats( boost::json::object_kind );
getProfileStatsContext(stats.as_object());
LLGLSLShader::finishProfile(stats);