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
700670ed
Commit
700670ed
authored
Dec 07, 2018
by
Michaël Roynard
Browse files
Fix clang compilation
parent
6b5f19c8
Pipeline
#12361
passed with stages
in 13 minutes and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/core/image/ndimage.cpp
View file @
700670ed
...
...
@@ -11,20 +11,12 @@
namespace
concepts
=
mln
::
concepts
;
#ifdef PYLENE_CONCEPT_TS_ENABLED
template
<
concepts
::
Image
Ima
>
void
foo
(
Ima
)
{
}
#endif // PYLENE_CONCEPT_TS_ENABLED
TEST
(
Core
,
Image_NdImage
)
{
using
tested_image_type
=
mln
::
ndimage_base
<
int
,
3
,
mln
::
image2d
<
int
>>
;
[[
maybe_unused
]]
auto
img
=
tested_image_type
{};
foo
(
img
);
#ifdef PYLENE_CONCEPT_TS_ENABLED
// static_assert(concepts::Image<decltype(img)>);
...
...
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