Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
hpp-util
Commits
8fbd1fb6
Unverified
Commit
8fbd1fb6
authored
Jun 22, 2018
by
Joseph Mirabel
Committed by
GitHub
Jun 22, 2018
Browse files
Merge pull request #10 from rlefevre1/devel
Remove bad assert in decindent
parents
02441e9d
7767d692
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/indent.cc
View file @
8fbd1fb6
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment