From f464a53aafe83d9dfce75cc2bab9acb7e4158ee1 Mon Sep 17 00:00:00 2001
From: indidev <indidev@042f3d55-54a8-47e9-b7fb-15903f145c44>
Date: Tue, 9 Dec 2014 09:45:44 +0000
Subject: [PATCH] added missing return statement

git-svn-id: http://svn.code.sf.net/p/simox/code/trunk@756 042f3d55-54a8-47e9-b7fb-15903f145c44
---
 VirtualRobot/Workspace/VoxelTreeND.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/VirtualRobot/Workspace/VoxelTreeND.hpp b/VirtualRobot/Workspace/VoxelTreeND.hpp
index 2c576715b..26808f210 100644
--- a/VirtualRobot/Workspace/VoxelTreeND.hpp
+++ b/VirtualRobot/Workspace/VoxelTreeND.hpp
@@ -796,7 +796,7 @@ namespace VirtualRobot
          *  Retruns number of all Nodes, including inner and leaf nodes.
          */
         long getNumNodes() {
-            root->countNodesRecursive();
+            return root->countNodesRecursive();
         }
 
     protected:
-- 
GitLab