Skip to content

Input spatial object const#1585

Merged
dzenanz merged 2 commits intoInsightSoftwareConsortium:masterfrom
thewtex:input-spatial-object-const
Feb 1, 2020
Merged

Input spatial object const#1585
dzenanz merged 2 commits intoInsightSoftwareConsortium:masterfrom
thewtex:input-spatial-object-const

Conversation

@thewtex
Copy link
Member

@thewtex thewtex commented Feb 1, 2020

We can rebase #1582 #1583 after merging to re-check the CI.

To address:

  In file included from /Users/builder/externalModules/Core/SpatialObjects/test/itkCastSpatialObjectFilterTest.cxx:19:
/Users/builder/externalModules/Core/SpatialObjects/include/itkCastSpatialObjectFilter.h:74:3: error: use of undeclared identifier 'purposeful_error'
  itkGetObjectMacro(Input, InputSpatialObjectType);
  ^
/Users/builder/externalModules/Core/Common/include/itkMacro.h:1040:7: note: expanded from macro 'itkGetObjectMacro'
      purposeful_error("itkGetObjectMacro should be replaced with itkGetModifiableObjectMacro.");                      \
      ^
1 error generated.
Copy link
Member

@aylward aylward left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Member

@jhlegarreta jhlegarreta left a comment

Choose a reason for hiding this comment

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

👍 Thanks Matt !

May be the commit message subject could be edited to stick to the ITK guidelines ❔

@dzenanz dzenanz merged commit 82c7474 into InsightSoftwareConsortium:master Feb 1, 2020
@dzenanz
Copy link
Member

dzenanz commented Feb 1, 2020

@jhlegarreta commit messages were fine, only the PR description was uncommon.

@thewtex thewtex deleted the input-spatial-object-const branch February 1, 2020 22:52
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.

4 participants