-
-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix compile in itk reader/writer #1153
Closed
Closed
Changes from 2 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
98859d1
select vector field color
elcerdo 837dd1a
fix useless asserts
elcerdo 8787afc
oups
elcerdo 63c8f46
fix 3d viewer add cone
elcerdo a6541ae
disable eigen deprecated warning with cpp11
elcerdo bda20a5
fix compile in itk reader/writer
kerautret a02506e
change log
kerautret 14850c5
fixing extension removal
dcoeurjo 8b19eef
Changelog edit
dcoeurjo da49df7
testing
dcoeurjo 232193c
minor typo
dcoeurjo b79323b
Merge pull request #1148 from elcerdo/DECCosmetics
dcoeurjo 53116bf
Merge pull request #1154 from dcoeurjo/FixObjFilename
kerautret d315f77
remove {} in functor def
kerautret f8ade3b
Fix fill interior/exterior in 3D with open or closed KhalimskySpaceND…
kerautret 1e9f0a4
add test for 3D exterior fill
kerautret 42a0a30
complement test in 2D
kerautret 2613aad
change log
kerautret 5b8a335
Merge pull request #1156 from kerautret/FixFillInteriorExterior3D
dcoeurjo 628eb94
back {} ;)
kerautret a47a7ab
README page update (license)
dcoeurjo e8bab36
Update README.md
dcoeurjo fe9125f
missing verb
dcoeurjo ed28393
Merge pull request #1158 from dcoeurjo/readme
kerautret 49e90eb
Fix tubular mesh
kerautret 1e55cc2
Merge pull request #1153 from kerautret/FixITKReader
dcoeurjo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why
{}
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I apply the same change of @rolanddenis ;) looks fine without with my compilo but I suppose that there a reason.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😄
In that case, it is exactly the same as without
{}
: it calls the constructor without argument. It is a new syntax fromC++11
. It enhances the construction of object and, especially, it allows me to replace a common mistake that I make:const functors::Identity identityFunctor();
by a valid syntax:
const functors::Identity identityFunctor{};
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, I would have preferred to get the () removed instead of something that can be ambiguous for non-c11 dev.
(Not sure to see why this new syntax enhance the construction.. I'll have to read the doc;))