From 996d59be509226b2a5ecbb7fe3205ace7cd734a3 Mon Sep 17 00:00:00 2001 From: Christopher Dykes Date: Fri, 24 Jun 2016 10:42:45 -0700 Subject: [PATCH] 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 --- folly/Function.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folly/Function.h b/folly/Function.h index aab8391c..9d9403ba 100644 --- a/folly/Function.h +++ b/folly/Function.h @@ -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 ::type> -- 2.34.1