Commit ae5a6390 authored by berenger-bramas's avatar berenger-bramas
Browse files

Add an explicit to constructor.

git-svn-id: svn+ssh:// 2616d619-271b-44dc-8df4-d4a8f33a7222
parent 789b5216
......@@ -204,7 +204,7 @@ public:
* After building a iterator, this one is positioned at the level 0
* of the root (level 1 of octree) at the left limit index
Iterator(FOctree* const inTarget)
explicit Iterator(FOctree* const inTarget)
: currentLocalIndex(0) , currentLocalLevel(0) {
fassert(inTarget, "Target for Octree::Iterator cannot be null", __LINE__, __FILE__);
fassert(inTarget->root.getRightLeafIndex() >= 0, "Octree seems to be empty, getRightLeafIndex == 0", __LINE__, __FILE__);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment