Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Etienne Schmitt
CGoGN
Commits
c9e91aef
Commit
c9e91aef
authored
May 23, 2014
by
Pierre Kraemer
Browse files
bug fix : foreach_dart return value
parent
e500303c
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/Topology/generic/mapImpl/mapMono.hpp
View file @
c9e91aef
...
...
@@ -232,22 +232,14 @@ template <typename FUNC>
inline
void
MapMono
::
foreach_dart
(
FUNC
f
)
{
for
(
Dart
d
=
begin
();
d
!=
end
();
next
(
d
))
{
if
(
f
(
d
))
return
true
;
}
return
false
;
f
(
d
);
}
template
<
typename
FUNC
>
inline
void
MapMono
::
foreach_dart
(
FUNC
&
f
)
{
for
(
Dart
d
=
begin
();
d
!=
end
();
next
(
d
))
{
if
(
f
(
d
))
return
true
;
}
return
false
;
f
(
d
);
}
}
// namespace CGoGN
include/Topology/generic/mapImpl/mapMulti.hpp
View file @
c9e91aef
...
...
@@ -443,22 +443,14 @@ template <typename FUNC>
inline
void
MapMulti
::
foreach_dart
(
FUNC
f
)
{
for
(
Dart
d
=
begin
();
d
!=
end
();
next
(
d
))
{
if
(
f
(
d
))
return
true
;
}
return
false
;
f
(
d
);
}
template
<
typename
FUNC
>
inline
void
MapMulti
::
foreach_dart
(
FUNC
&
f
)
{
for
(
Dart
d
=
begin
();
d
!=
end
();
next
(
d
))
{
if
(
f
(
d
))
return
true
;
}
return
false
;
f
(
d
);
}
}
// namespace CGoGN
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