Skip to content

Commit

Permalink
Add default copy operator in custom allocator test
Browse files Browse the repository at this point in the history
  • Loading branch information
Tessil committed Oct 9, 2023
1 parent 60d7013 commit 682678e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/custom_allocator_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class custom_allocator {

custom_allocator() = default;
custom_allocator(const custom_allocator&) = default;
custom_allocator& operator=(const custom_allocator&) = default;

template <typename U>
custom_allocator(const custom_allocator<U>&) {}
Expand Down

0 comments on commit 682678e

Please sign in to comment.