Clang return error fix

This commit is contained in:
Foereaper 2015-03-31 21:02:21 +02:00
parent 7c0c79400c
commit 66adfff9ba

View File

@ -83,7 +83,7 @@ class BIHWrap
void operator()(const Vector3& p, uint32 Idx)
{
if (Idx >= objects_size)
{ return false; }
{ return; }
if (const T* obj = objects[Idx])
{ cb(p, *obj); }