Remove BOOST_MOVABLE_BUT_NOT_COPYABLE

This commit is contained in:
Christian Mazakas
2023-09-27 11:44:44 -07:00
parent c6aa90651c
commit bce9b5927a
3 changed files with 8 additions and 6 deletions
+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() {}