Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Olena
pylene
Commits
b0c042b5
Commit
b0c042b5
authored
Feb 04, 2019
by
Michaël Roynard
Browse files
Indent
parent
0b5a9f2d
Pipeline
#12902
failed with stages
in 4 minutes and 49 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pylene/include/mln/core/image/view/filter.hpp
View file @
b0c042b5
...
...
@@ -37,8 +37,8 @@ namespace mln
using
dom_t
=
decltype
(
std
::
declval
<
I
*>
()
->
domain
());
using
rng_t
=
mln
::
ranges
::
remove_if_view
<::
ranges
::
view
::
all_t
<
dom_t
>
,
::
ranges
::
logical_negate
<
pred_t
>>
;
pred_t
pred_
;
mutable
rng_t
rng_
;
// domain can be a range, so non-const
pred_t
pred_
;
mutable
rng_t
rng_
;
// domain can be a range, so non-const
static_assert
(
::
ranges
::
ForwardRange
<
rng_t
>
());
...
...
@@ -47,7 +47,7 @@ namespace mln
using
reference
=
::
ranges
::
range_reference_t
<
rng_t
>
;
domain_type
(
I
*
ima
,
F
f
)
:
pred_
(
std
::
move
(
f
),
std
::
ref
(
*
ima
))
:
pred_
(
std
::
move
(
f
),
std
::
ref
(
*
ima
))
,
rng_
(
mln
::
ranges
::
view
::
filter
(
ima
->
domain
(),
pred_
))
{
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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