diff options
-rw-r--r-- | llvm/include/llvm/ADT/FunctionExtras.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ADT/FunctionExtras.h b/llvm/include/llvm/ADT/FunctionExtras.h index e3de22d65e3..2cce7b32320 100644 --- a/llvm/include/llvm/ADT/FunctionExtras.h +++ b/llvm/include/llvm/ADT/FunctionExtras.h @@ -240,7 +240,7 @@ public: // FIXME: we should use constexpr if here and below to avoid instantiating // the non-trivial static objects when unnecessary. While the linker should // remove them, it is still wasteful. - if (std::is_trivially_move_constructible<CallableT>::value && + if (llvm::is_trivially_move_constructible<CallableT>::value && std::is_trivially_destructible<CallableT>::value) { CallbackAndInlineFlag = {&CallImpl<CallableT>, IsInlineStorage}; return; |