Unverified Commit 8fbd1fb6 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by GitHub
Browse files

Merge pull request #10 from rlefevre1/devel

Remove bad assert in decindent
parents 02441e9d 7767d692
...@@ -38,8 +38,10 @@ namespace hpp ...@@ -38,8 +38,10 @@ namespace hpp
std::ostream& decindent (std::ostream& o) std::ostream& decindent (std::ostream& o)
{ {
assert (indent (o)); long& ind = indent(o);
indent (o) -= 2; if (ind >= 2)
indent (o) -= 2;
else ind = 0;
return o; 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