From ba4293fa5655100a9b7f4cf7f6dc6c237b3bb4d5 Mon Sep 17 00:00:00 2001 From: Anders Cedronius Date: Tue, 23 Apr 2024 14:44:34 +0200 Subject: [PATCH] fix linux build --- include/DataFrame/Utils/AlignedAllocator.h | 4 ++-- include/DataFrame/Utils/Concepts.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/DataFrame/Utils/AlignedAllocator.h b/include/DataFrame/Utils/AlignedAllocator.h index 4939f175..8637c5e4 100644 --- a/include/DataFrame/Utils/AlignedAllocator.h +++ b/include/DataFrame/Utils/AlignedAllocator.h @@ -60,7 +60,7 @@ struct AlignedValue { // ---------------------------------------------------------------------------- -// By default the alignment is system defined alignment for the type +// By default, the alignment is system defined alignment for the type // template class AlignedAllocator : public AlignedValue { @@ -115,7 +115,7 @@ class AlignedAllocator : public AlignedValue { AlignedAllocator &operator=(const AlignedAllocator &) = delete; template - inline explicit AlignedAllocator(AlignedAllocator const &) noexcept { } + inline AlignedAllocator(AlignedAllocator const &) noexcept { } // Always return true for stateless allocators. // diff --git a/include/DataFrame/Utils/Concepts.h b/include/DataFrame/Utils/Concepts.h index 4a3c39b5..1d101c1a 100644 --- a/include/DataFrame/Utils/Concepts.h +++ b/include/DataFrame/Utils/Concepts.h @@ -128,7 +128,7 @@ concept hashable_equal = hashable && std::equality_comparable; template concept hashable_stringable = requires(const std::remove_reference_t &a, std::stringstream &ss) { - hashable; + requires hashable; { ss << a }; };