Skip to content
Snippets Groups Projects
Commit 163c38e1 authored by Giuseppe Bilotta's avatar Giuseppe Bilotta
Browse files

Always return from non-void functions

This quiets a warning in Clang.
parent 11be3901
Branches
Tags
No related merge requests found
......@@ -1456,6 +1456,8 @@ class Settings
i.getNode()->getValue());
}
return *this;
}
Settings & operator=(Settings &other)
......
......@@ -453,12 +453,14 @@ class VoxelManipulator /*: public NodeContainer*/
if(m_area.contains(p) == false)
return false;
m_data[m_area.index(p)] = n;
return true;
}
bool setNodeNoEmerge(s32 i, MapNode n)
{
if(m_area.contains(i) == false)
return false;
m_data[i] = n;
return true;
}
/*bool setContentNoEmerge(v3s16 p, u8 c)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment