Skip to content

BUG: Fix DISALLOW_COPY_AND_ASSIGN macro argument. - #10

Merged
thewtex merged 1 commit into
InsightSoftwareConsortium:masterfrom
jhlegarreta:FixDisallowCopyAndAssingArgument
Sep 25, 2018
Merged

thewtex merged 1 commit into
InsightSoftwareConsortium:masterfrom
jhlegarreta:FixDisallowCopyAndAssingArgument

Conversation

@jhlegarreta

Copy link
Copy Markdown
Member

Fix DISALLOW_COPY_AND_ASSIGN macro agument for the
itk::ConnectedThresholdSegmentationModule class.

Fixes compilation errors (MSVC 2015):

1>c:\sources\lesionsizingtoolkit\include\itkConnectedThresholdSegmentationModule.h(40):
error C2059: syntax error: 'const'
1>
c:\sources\lesionsizingtoolkit\include\itkConnectedThresholdSegmentationModule.h(82):
note: see reference to class template instantiation
'itk::ConnectedThresholdSegmentationModule<NDimension>' being compiled
1>c:\sources\lesionsizingtoolkit\include\itkConnectedThresholdSegmentationModule.h(40):
error C2238: unexpected token(s) preceding ';'

Fix `DISALLOW_COPY_AND_ASSIGN` macro agument for the
`itk::ConnectedThresholdSegmentationModule` class.

Fixes compilation errors (MSVC 2015):
```
1>c:\sources\lesionsizingtoolkit\include\itkConnectedThresholdSegmentationModule.h(40):
error C2059: syntax error: 'const'
1>
c:\sources\lesionsizingtoolkit\include\itkConnectedThresholdSegmentationModule.h(82):
note: see reference to class template instantiation
'itk::ConnectedThresholdSegmentationModule<NDimension>' being compiled
1>c:\sources\lesionsizingtoolkit\include\itkConnectedThresholdSegmentationModule.h(40):
error C2238: unexpected token(s) preceding ';'
```

@thewtex thewtex left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👍 good catch.

@thewtex
thewtex merged commit 23046af into InsightSoftwareConsortium:master Sep 25, 2018
@jhlegarreta
jhlegarreta deleted the FixDisallowCopyAndAssingArgument branch September 25, 2018 03:32
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.

2 participants