From: Christopher Dykes Date: Fri, 24 Jun 2016 17:42:45 +0000 (-0700) Subject: std::aligned_storage<>::type is not a dependent type X-Git-Tag: 2016.07.26~119 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=996d59be509226b2a5ecbb7fe3205ace7cd734a3;p=folly.git 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 --- 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>