forked from boostorg/unordered
Remove unnecessary assignment operator for test key
This commit is contained in:
@ -20,13 +20,6 @@ struct key
|
|||||||
|
|
||||||
key(int x) : x_(x) { ++count_; }
|
key(int x) : x_(x) { ++count_; }
|
||||||
key(key const& k) : x_(k.x_) { ++count_; }
|
key(key const& k) : x_(k.x_) { ++count_; }
|
||||||
|
|
||||||
key& operator=(key const& k)
|
|
||||||
{
|
|
||||||
x_ = k.x_;
|
|
||||||
++count_;
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
int key::count_;
|
int key::count_;
|
||||||
|
Reference in New Issue
Block a user