Skip to content

COMP: fixed some -Wunused-template warnings by adding private namespaces#117

Merged
hjmjohnson merged 1 commit intoInsightSoftwareConsortium:masterfrom
hjmjohnson:dashboard-warnings2
Nov 6, 2018
Merged

COMP: fixed some -Wunused-template warnings by adding private namespaces#117
hjmjohnson merged 1 commit intoInsightSoftwareConsortium:masterfrom
hjmjohnson:dashboard-warnings2

Conversation

@hjmjohnson
Copy link
Member

No description provided.

Change-Id: I1bfdf7319c320d9e1d0478a3f9eb0977f4ec045c
@hjmjohnson
Copy link
Member Author

http://review.source.kitware.com/#/c/23318/

Sean McBride
Uploaded patch set 1.Apr 4, 2018

Sean McBride
Patch Set 1: OK Niels, this seemed to work too.Apr 4, 2018

Kitware Build Robot
Patch Set 1: Verified-1 Build Failed: CDash filtered results: https://open.cdash.org/index.php?&project=Insight&filtercount=3&field1=buildname/string&compare1=63&value1=23318-1&field2=buildstarttime/date&compare2=83&value2=2015-03-01&field3=buildstarttime/date&compare3=84&value3=2029-01-01Apr 5, 2018

Niels Dekker
Patch Set 1: Code-Review+1 Looks fine to me, thanks, Sean! For now, I think the name of the namespace 'itk_impl_details' is fine, but it can always be changed afterwards of course, as it is just an implementation detail :-) The Build Robot error "Process terminated due to timeout" seems unrelated to your patch: https://open.cdash.org/viewBuildError.php?buildid=5326344Apr 5, 2018

Hans J. Johnson

@hjmjohnson hjmjohnson requested a review from N-Dekker November 6, 2018 04:08
@hjmjohnson hjmjohnson self-assigned this Nov 6, 2018
Copy link
Contributor

@N-Dekker N-Dekker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still think this is PR fine. In general it appears troublesome to use an unnamed namespace (anonymous namespace) in a header file. In general, unnamed namespaces only work well within CXX files. So instead, I think it makes sense to place implementation details in an "ITK-implementation-details-only" namespace.

@hjmjohnson hjmjohnson closed this Nov 6, 2018
@hjmjohnson hjmjohnson deleted the dashboard-warnings2 branch November 6, 2018 14:49
@hjmjohnson hjmjohnson restored the dashboard-warnings2 branch November 6, 2018 16:36
@hjmjohnson
Copy link
Member Author

Accidentally deleted the branch in my account.

@hjmjohnson hjmjohnson reopened this Nov 6, 2018
@hjmjohnson hjmjohnson merged commit 9cfdb90 into InsightSoftwareConsortium:master Nov 6, 2018
@hjmjohnson hjmjohnson deleted the dashboard-warnings2 branch October 23, 2019 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants