From 06192258edf334476c84f09ae2934444e6f4d2b8 Mon Sep 17 00:00:00 2001 From: Victor Zarubkin Date: Sat, 25 Jun 2016 17:27:36 +0300 Subject: [PATCH] statistics move --- include/profiler/reader.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/profiler/reader.h b/include/profiler/reader.h index aeab4ca..f82e478 100644 --- a/include/profiler/reader.h +++ b/include/profiler/reader.h @@ -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.