From 73f3cbb237e84d483afafc743f1f14ec53e12314 Mon Sep 17 00:00:00 2001 From: Martin Leitner-Ankerl Date: Tue, 3 Dec 2024 19:31:01 +0100 Subject: [PATCH] Adds ANKERL_UNORDERED_DENSE_DISABLE_PMR, fixes #109 --- include/ankerl/unordered_dense.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ankerl/unordered_dense.h b/include/ankerl/unordered_dense.h index d14c92e..13484a9 100644 --- a/include/ankerl/unordered_dense.h +++ b/include/ankerl/unordered_dense.h @@ -98,7 +98,7 @@ # include // for abort # endif -# if defined(__has_include) +# if defined(__has_include) && !defined(ANKERL_UNORDERED_DENSE_DISABLE_PMR) # if __has_include() # define ANKERL_UNORDERED_DENSE_PMR std::pmr // NOLINT(cppcoreguidelines-macro-usage) # include // for polymorphic_allocator