forked from OSchip/llvm-project
[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:
parent
de172dd17f
commit
6f87b99a79
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue