summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-07-24 17:08:51 -0400
committerAndrey Lihatskiy <alihatskiy@productengine.com>2023-07-25 03:07:57 +0300
commit0a014776b3361cf6b7126f50f9e7d2f2b2eb04a5 (patch)
treeb620ec2f2b09f17e1fa51c2b6c136c510819e85d /indra/llcommon
parent37a6b6411c0ad86fecd1bf71f7874c2d74a5a121 (diff)
DRTVWR-587: Pacify VS 2022 specifically.
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/lleventdispatcher.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llcommon/lleventdispatcher.h b/indra/llcommon/lleventdispatcher.h
index 939e3730e1..6c7338efb9 100644
--- a/indra/llcommon/lleventdispatcher.h
+++ b/indra/llcommon/lleventdispatcher.h
@@ -478,8 +478,10 @@ private:
LLSD callFail(ARGS&&... args) const
{
mParent->callFail<LLEventDispatcher::DispatchError>(std::forward<ARGS>(args)...);
+#if _MSC_VER < 1930 // pre VS 2022
// pacify the compiler
return {};
+#endif // pre VS 2022
}
};
typedef std::map<std::string, std::unique_ptr<DispatchEntry> > DispatchMap;