From bdd3f2ab1f0ed58cf23d06fdc4ff0d6bdb866beb Mon Sep 17 00:00:00 2001 From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz> Date: Tue, 5 Jul 2016 21:28:21 +0200 Subject: [PATCH] fix in tree base implementation --- alib2std/src/extensions/tree.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alib2std/src/extensions/tree.hpp b/alib2std/src/extensions/tree.hpp index 95a4fe7074..62e679f273 100644 --- a/alib2std/src/extensions/tree.hpp +++ b/alib2std/src/extensions/tree.hpp @@ -113,7 +113,7 @@ public: template < int N > const ConstData & getElement ( ) const { - return std::get < N > ( children ); + return reinterpret_cast < const ConstData & > ( std::get < N > ( children ) ); } template < int N > -- GitLab