Commit 7767d692 authored by Raphael Lefevre's avatar Raphael Lefevre
Browse files

Remove bad assert in decindent

parent 02441e9d
......@@ -38,8 +38,10 @@ namespace hpp
std::ostream& decindent (std::ostream& o)
{
assert (indent (o));
indent (o) -= 2;
long& ind = indent(o);
if (ind >= 2)
indent (o) -= 2;
else ind = 0;
return o;
}
......
Supports Markdown
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