summaryrefslogtreecommitdiff
path: root/src/base/compiler.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/compiler.hh')
-rw-r--r--src/base/compiler.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/compiler.hh b/src/base/compiler.hh
index 35156ee67..957ef40fd 100644
--- a/src/base/compiler.hh
+++ b/src/base/compiler.hh
@@ -92,7 +92,7 @@
namespace m5
{
-#if __cplusplus == 201402L // C++14
+#if __cplusplus >= 201402L // C++14
using std::make_unique;
@@ -108,7 +108,7 @@ make_unique( Args&&... constructor_args )
);
}
-#endif // __cplusplus == 201402L
+#endif // __cplusplus >= 201402L
} //namespace m5