Commit 3a7ad483 authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by facebook-github-bot-1

Fix Build: GCC 4.9 has std::make_unique but not __cplusplus >= 201402L

Summary: [Folly] Fix Build: GCC 4.9 has `std::make_unique` but not `__cplusplus >= 201402L`.

Reviewed By: @igorsugak

Differential Revision: D2528584

fb-gh-sync-id: 9ad0567429698fb1320ad4066ee06add31acbd57
parent b3fe16e2
......@@ -37,7 +37,8 @@ namespace folly {
* @author Xu Ning (xning@fb.com)
*/
#if __cplusplus >= 201402L
#if __cplusplus >= 201402L || \
defined __cpp_lib_make_unique && __cpp_lib_make_unique >= 201304L
/* using override */ using std::make_unique;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment