1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

[ADT] Switch another place to llvm::is_trivially_move_constructible.

I missed this the first time around, sorry.

llvm-svn: 336166
This commit is contained in:
Chandler Carruth 2018-07-03 04:07:26 +00:00
parent bb148a0677
commit 3b0beec122

View File

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