From bc496f7ecfd0ff1a1ebe105df500b9714b8735a1 Mon Sep 17 00:00:00 2001 From: Victor Zarubkin Date: Sun, 19 Jun 2016 23:57:58 +0300 Subject: [PATCH] Typedef for children array type --- include/profiler/reader.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/profiler/reader.h b/include/profiler/reader.h index 8423acf..20a9c5a 100644 --- a/include/profiler/reader.h +++ b/include/profiler/reader.h @@ -22,15 +22,17 @@ along with this program.If not, see . ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #include -#include "profiler/profiler.h" #include +#include "profiler/profiler.h" ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// struct BlocksTree { + typedef std::vector children_t; + profiler::SerilizedBlock* node; - std::vector children; + children_t children; BlocksTree():node(nullptr) {