mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-29 16:40:39 +08:00
old gnu libstd++ don't have make_unique
This commit is contained in:
Vendored
+2
-1
@@ -1264,7 +1264,8 @@ struct MakeUniqueResult<T[N]> {
|
|||||||
} // namespace memory_internal
|
} // namespace memory_internal
|
||||||
|
|
||||||
#if (__cplusplus > 201103L || defined(_MSC_VER)) && \
|
#if (__cplusplus > 201103L || defined(_MSC_VER)) && \
|
||||||
!(defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ == 8)
|
!(defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ == 8) &&
|
||||||
|
!(defined (__GLIBCXX__) && __GLIBCXX__ <= 20141030)
|
||||||
using std::make_unique;
|
using std::make_unique;
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user