Commit 918988e5 authored by Michael Lee's avatar Michael Lee Committed by Facebook Github Bot

make_unique is ambiguous with c++14 for some platforms

Summary: Missing compatibility case for Android

Reviewed By: yfeldblum

Differential Revision: D4384944

fbshipit-source-id: 0b3e43fb284b6a71c6ae2a2162d1ea7cb99bc817
parent 7ea05dfb
......@@ -38,6 +38,7 @@ namespace folly {
#if __cplusplus >= 201402L || \
(defined __cpp_lib_make_unique && __cpp_lib_make_unique >= 201304L) || \
(defined __ANDROID__ && __cplusplus >= 201300L) || \
(defined(_MSC_VER) && _MSC_VER >= 1900)
/* 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