|
@@ -117,7 +117,10 @@ public:
|
|
|
|
|
|
virtual ~CheshireCat() = default;
|
|
virtual ~CheshireCat() = default;
|
|
|
|
|
|
- CheshireCat &operator=(CheshireCat<T> &&cc) { mImpl = std::move(cc->mImpl); };
|
|
|
|
|
|
+ CheshireCat &operator=(CheshireCat<T> &&cc) {
|
|
|
|
+ mImpl = std::move(cc.mImpl);
|
|
|
|
+ return *this;
|
|
|
|
+ };
|
|
CheshireCat &operator=(const CheshireCat<T> &) = delete;
|
|
CheshireCat &operator=(const CheshireCat<T> &) = delete;
|
|
|
|
|
|
protected:
|
|
protected:
|