C++11: Fix some code

This commit is contained in:
Arkshine
2014-12-06 12:22:29 +01:00
parent 1199863e47
commit 1146bcad2c
3 changed files with 9 additions and 9 deletions

View File

@ -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()
{