summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;