Skip to content

Commit

Permalink
the old Intel compiler does have std::make_unique with C++14
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Smith committed Jan 18, 2023
1 parent 6271bcf commit 1b57f5f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions modules/c++/std/include/std/memory
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@
#ifndef CODA_OSS_NO_std_make_unique
#if CODA_OSS_cpp14
#define CODA_OSS_NO_std_make_unique 1 // part of C++14
// Well ... this old Intel compiler (mostly) as enough C++14 for our needs ... (see CPlusPlus.h)
#if defined(__INTEL_COMPILER) && (__INTEL_COMPILER_BUILD_DATE <= 20151021)
#undef CODA_OSS_NO_std_make_unique
#define CODA_OSS_NO_std_make_unique 0 // ... but no std::make_unique
#endif
#else
#define CODA_OSS_NO_std_make_unique 0 // use our own
#endif
Expand Down

0 comments on commit 1b57f5f

Please sign in to comment.