Skip to content

Commit

Permalink
Adds ANKERL_UNORDERED_DENSE_DISABLE_PMR, fixes #109
Browse files Browse the repository at this point in the history
  • Loading branch information
martinus committed Dec 3, 2024
1 parent a78936c commit bde7943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ankerl/unordered_dense.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
# include <cstdlib> // for abort
# endif

# if defined(__has_include)
# if defined(__has_include) && !defined(ANKERL_UNORDERED_DENSE_DISABLE_PMR)
# if __has_include(<memory_resource>)
# define ANKERL_UNORDERED_DENSE_PMR std::pmr // NOLINT(cppcoreguidelines-macro-usage)
# include <memory_resource> // for polymorphic_allocator
Expand Down

0 comments on commit bde7943

Please sign in to comment.