Remove BOOST_MOVABLE_BUT_NOT_COPYABLE

This commit is contained in:
Christian Mazakas committed 2023-09-27 11:44:44 -07:00
1 parent c6aa90651c
commit bce9b5927a
3 files changed
+8 -6

No files matched your search

+2 -2
View File
@@ -165,12 +165,12 @@ namespace test {
class movable1
{
BOOST_MOVABLE_BUT_NOT_COPYABLE(movable1)
public:
movable1(constructor_param const&) {}
movable1() {}
explicit movable1(movable_init) {}
movable1(movable1 const&) = delete;
movable1& operator=(movable1 const&) = delete;
movable1(movable1&&) {}
movable1& operator=(movable1&&) { return *this; }
~movable1() {}