C++11: Fix some code
This commit is contained in:
1 parent
1199863e47
commit
1146bcad2c
3 files changed
+9
-9
No files matched your search
@@ -39,11 +39,11 @@ public:
|
||||
: control_(0)
|
||||
{
|
||||
}
|
||||
Entry(ke::Moveable<Entry> other)
|
||||
Entry(Entry &&other)
|
||||
{
|
||||
control_ = other->control_;
|
||||
data_ = other->data_;
|
||||
other->control_ = 0;
|
||||
control_ = other.control_;
|
||||
data_ = other.data_;
|
||||
other.control_ = 0;
|
||||
}
|
||||
~Entry()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user