Fix gcc 5.2 compilation when _GLIBCXX_USE_CXX11_ABI is not 0
authorYaacov Akiba Slama <ya@slamail.org>
Thu, 22 Oct 2015 05:30:22 +0000 (22:30 -0700)
committerfacebook-github-bot-9 <folly-bot@fb.com>
Thu, 22 Oct 2015 06:20:20 +0000 (23:20 -0700)
commit50b33d29c25c9cb33ff61988a6fc16ec1a25e6d0
tree1ee082648ae564fd83ec08e9eb41043dc87d9bbe
parentc1a6582f8c25103926a7ae2846aa8fa32534ee6e
Fix gcc 5.2 compilation when _GLIBCXX_USE_CXX11_ABI is not 0

Summary: Tested in debian stretch when used in hhvm which can now run drupal 7.
The compilation error is also fixed by #214 but this fix maintains
 forward declarations of basic_string and list.
Closes https://github.com/facebook/folly/pull/329

Reviewed By: yfeldblum

Differential Revision: D2533880

fb-gh-sync-id: 85e18eeeba9efa1b4150217ba526b32b5573e15e
folly/Portability.h
folly/Traits.h