DRTVWR-587: Pacify VS 2022 specifically.

master
Nat Goodspeed 2023-07-24 17:08:51 -04:00 committed by Andrey Lihatskiy
parent 37a6b6411c
commit 0a014776b3
1 changed files with 2 additions and 0 deletions

View File

@ -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;