summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2019-08-20 12:48:21 -0400
committerNat Goodspeed <nat@lindenlab.com>2019-08-20 12:48:21 -0400
commit5b5eb55f0c999a55cd0df1dd983629967d447b6c (patch)
treeee6cdf3ee28c522c6ca354a3e651dd0c0f481ce9 /indra/llcommon
parent54b98cb8c1302a1da5779d8968e54e5be641e644 (diff)
DRTVWR-493: Clarify capturing LLError::getFatalFunction() in a var.
VS 2013 thought we were storing an initialization-list.
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llsingleton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llsingleton.cpp b/indra/llcommon/llsingleton.cpp
index 88527a3d31..c45c144570 100644
--- a/indra/llcommon/llsingleton.cpp
+++ b/indra/llcommon/llsingleton.cpp
@@ -461,7 +461,7 @@ void LLSingletonBase::logerrs(const char* p1, const char* p2, const char* p3, co
// https://www.youtube.com/watch?v=OMG7paGJqhQ (emphasis on OMG)
std::ostringstream out;
out << p1 << p2 << p3 << p4;
- auto crash{ LLError::getFatalFunction() };
+ auto crash = LLError::getFatalFunction();
if (crash)
{
crash(out.str());