Removed an unneeded typename in dynamic.h
authorOrvid King <blah38621@gmail.com>
Wed, 29 Jul 2015 23:57:06 +0000 (16:57 -0700)
committerfacebook-github-bot-4 <folly-bot@fb.com>
Thu, 30 Jul 2015 00:22:25 +0000 (17:22 -0700)
Summary: This `typename` qualifier was unneeded, and MSVC errors if it's there, so remove it.
Closes #275

Reviewed By: @yfeldblum

Differential Revision: D2284056

Pulled By: @sgolemon

folly/dynamic.h

index 5bd36f4c54aeedf7bc7d868cfd8a09fa6fdefe34..35ef9b5ccb2390e06431b1961c59a7ff834a786b 100644 (file)
@@ -532,7 +532,7 @@ private:
      * incomplete type right now).  (Note that in contrast we know it
      * is ok to do this with fbvector because we own it.)
      */
-    typename std::aligned_storage<
+    std::aligned_storage<
       sizeof(std::unordered_map<int,int>),
       alignof(std::unordered_map<int,int>)
     >::type objectBuffer;