Commit d5ff9c22 authored by untereiner's avatar untereiner

removed a useless assertion

parent 408d0c80
......@@ -289,7 +289,6 @@ inline unsigned int ImplicitHierarchicalMap::getCurrentLevel()
inline void ImplicitHierarchicalMap::setCurrentLevel(unsigned int l)
{
assert(l >= 0 || !"Trying to set current level to a negative value") ;
m_curLevel = l ;
}
......
......@@ -453,7 +453,6 @@ inline unsigned int ImplicitHierarchicalMap3::getCurrentLevel()
inline void ImplicitHierarchicalMap3::setCurrentLevel(unsigned int l)
{
assert(l >= 0 || !"Trying to set current level to a negative value") ;
m_curLevel = l ;
}
......
......@@ -280,7 +280,6 @@ inline unsigned int ImplicitHierarchicalMap2::getCurrentLevel()
inline void ImplicitHierarchicalMap2::setCurrentLevel(unsigned int l)
{
assert(l >= 0 || !"Trying to set current level to a negative value") ;
m_curLevel = l ;
}
......
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