0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-28 01:04:41 +08:00

statistics move

This commit is contained in:
Victor Zarubkin 2016-06-25 17:27:36 +03:00
parent 2a1b7acfb9
commit 06192258ed

View File

@ -95,10 +95,14 @@ private:
void makeMove(BlocksTree&& that)
{
node = that.node;
children = ::std::move(that.children);
node = that.node;
frame_statistics = that.frame_statistics;
total_statistics = that.total_statistics;
that.node = nullptr;
that.frame_statistics = nullptr;
that.total_statistics = nullptr;
}
}; // END of struct BlocksTree.