Skip to content

Commit

Permalink
gcc complains NotMovable only has private ctor
Browse files Browse the repository at this point in the history
  • Loading branch information
Werner Henze committed Dec 23, 2024
1 parent 24c41a8 commit fcdb1e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/pointers_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ using void_t = void;
// These are regressions, should be fixed.
struct NotMovable
{
NotMovable() = default;
NotMovable(NotMovable&&) = delete;
NotMovable& operator=(NotMovable&&) = delete;
};
Expand Down

0 comments on commit fcdb1e5

Please sign in to comment.