[ADT] Use more explicit from to initialize member. Appease MSVC?

Or at least get a clearer error message:
http://lab.llvm.org:8011/builders/mlir-windows/builds/3958/steps/build-unified-tree/logs/stdio
This commit is contained in:
Sam McCall 2020-06-29 22:22:12 +02:00
parent de172dd17f
commit 6f87b99a79
1 changed files with 2 additions and 2 deletions

View File

@ -249,8 +249,8 @@ protected:
// Now move into the storage.
new (CallableAddr) CallableT(std::move(Callable));
CallbackAndInlineFlag = {&CallbacksHolder<CallableT, CalledAsT>::Callbacks,
IsInlineStorage};
CallbackAndInlineFlag.setPointerAndInt(
&CallbacksHolder<CallableT, CalledAsT>::Callbacks, IsInlineStorage);
}
~UniqueFunctionBase() {