projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acac120
)
std::aligned_storage<>::type is not a dependent type
author
Christopher Dykes
<cdykes@fb.com>
Fri, 24 Jun 2016 17:42:45 +0000
(10:42 -0700)
committer
Facebook Github Bot 3
<facebook-github-bot-3-bot@fb.com>
Fri, 24 Jun 2016 17:53:38 +0000
(10:53 -0700)
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
patch
|
blob
|
history
diff --git
a/folly/Function.h
b/folly/Function.h
index aab8391cd746b440301b3d11ec683f7a6b9f464f..9d9403ba992ceb1d5bc7108d7fec8dcca15ae6be 100644
(file)
--- 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 <typename Fun, typename FunT = typename std::decay<Fun>::type>