Commit 996d59be authored by Christopher Dykes's avatar Christopher Dykes Committed by Facebook Github Bot 3

std::aligned_storage<>::type is not a dependent type

Summary: Which causes MSVC to get grumpy when you tell it that it is.

Reviewed By: yfeldblum

Differential Revision: D3479016

fbshipit-source-id: e674b210aaa5a644c5ed884a7077a5cf33b05196
parent acac120e
......@@ -242,7 +242,7 @@ enum class Op { MOVE, NUKE, FULL, HEAP };
union Data {
void* big;
typename std::aligned_storage<6 * sizeof(void*)>::type small;
std::aligned_storage<6 * sizeof(void*)>::type small;
};
template <typename Fun, typename FunT = typename std::decay<Fun>::type>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment