Skip to content

Commit

Permalink
fix linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
andersc committed Apr 23, 2024
1 parent f381179 commit ba4293f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions include/DataFrame/Utils/AlignedAllocator.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ struct AlignedValue<T, 0> {

// ----------------------------------------------------------------------------

// By default the alignment is system defined alignment for the type
// By default, the alignment is system defined alignment for the type
//
template<typename T, std::size_t AS = 0>
class AlignedAllocator : public AlignedValue<T, AS> {
Expand Down Expand Up @@ -115,7 +115,7 @@ class AlignedAllocator : public AlignedValue<T, AS> {
AlignedAllocator &operator=(const AlignedAllocator &) = delete;

template<typename U>
inline explicit AlignedAllocator(AlignedAllocator<U, AS> const &) noexcept { }
inline AlignedAllocator(AlignedAllocator<U, AS> const &) noexcept { }

// Always return true for stateless allocators.
//
Expand Down
2 changes: 1 addition & 1 deletion include/DataFrame/Utils/Concepts.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ concept hashable_equal = hashable<T> && std::equality_comparable<T>;
template<typename T>
concept hashable_stringable = requires(const std::remove_reference_t<T> &a,
std::stringstream &ss) {
hashable<T>;
requires hashable<T>;
{ ss << a };
};

Expand Down

0 comments on commit ba4293f

Please sign in to comment.