diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2019-08-20 12:48:21 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2019-08-20 12:48:21 -0400 |
commit | 5b5eb55f0c999a55cd0df1dd983629967d447b6c (patch) | |
tree | ee6cdf3ee28c522c6ca354a3e651dd0c0f481ce9 /indra | |
parent | 54b98cb8c1302a1da5779d8968e54e5be641e644 (diff) |
DRTVWR-493: Clarify capturing LLError::getFatalFunction() in a var.
VS 2013 thought we were storing an initialization-list.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llcommon/llsingleton.cpp | 2 |
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()); |