After upgrading to Visual Studio 19 16.5.0, the latest version, I am seeing a compiler warning that did not exist before. Since I have warnings as errors, this is a fatal error for me.
Severity Code Description Project File Line Suppression State
Warning C4996 ‘TBaseDelegate<TTypeWrapper<void>>::BindSP::FDeprecationMsg_490::condition’: Binding a delegate with a const object pointer and non-const function is deprecated. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. \UnrealEngine\Engine\Source\Runtime\Core\Public\Delegates\DelegateSignatureImpl.inl 490
Which is this:
UE_STATIC_DEPRECATE(4.23, TIsConst<UserClass>::Value, "Binding a delegate with a const object pointer and non-const function is deprecated.");