use C++14 features by default

This commit is contained in:
conrad
2025-07-03 15:55:34 +10:00
parent 8039076f07
commit a57df05fd0
+2 -11
View File
@@ -34,8 +34,8 @@
#define arma_aligned
#define arma_align_mem
#define arma_warn_unused
#define arma_deprecated
#define arma_frown(msg)
#define arma_deprecated [[deprecated]]
#define arma_frown(msg) [[deprecated(msg)]]
#define arma_malloc
#define arma_inline inline
#define arma_noinline
@@ -368,15 +368,6 @@
#endif
#if defined(ARMA_HAVE_CXX14)
#undef arma_deprecated
#define arma_deprecated [[deprecated]]
#undef arma_frown
#define arma_frown(msg) [[deprecated(msg)]]
#endif
#if defined(ARMA_HAVE_CXX17)
#undef arma_warn_unused
#define arma_warn_unused [[nodiscard]]