Commit f17aa08
committed
COMP: Fix windows function ambiguity error
Modules\IO\Meta\test\testMetaImage.cxx(154): error C2666: 'MetaImage::SequenceID': 2 overloads have similar conversions
Modules\ThirdParty\MetaIO\src\MetaIO\src\metaImage.h(182): note: could be 'void MetaImage::SequenceID(const float *)'
Modules\ThirdParty\MetaIO\src\MetaIO\src\metaImage.h(180): note: or 'float MetaImage::SequenceID(int) const'
Modules\IO\Meta\test\testMetaImage.cxx(154): note: while trying to match the argument list '(const int)'
Modules\IO\Meta\test\testMetaImage.cxx(154): note: note: qualification adjustment (const/volatile) may be causing the ambiguity
Modules\IO\Meta\test\testMetaImage.cxx(165): error C2666: 'MetaImage::ElementSize': 3 overloads have similar conversions
Modules\ThirdParty\MetaIO\src\MetaIO\src\metaImage.h(201): note: could be 'void MetaImage::ElementSize(const float *)'
Modules\ThirdParty\MetaIO\src\MetaIO\src\metaImage.h(199): note: or 'void MetaImage::ElementSize(const double *)'
Modules\ThirdParty\MetaIO\src\MetaIO\src\metaImage.h(197): note: or 'double MetaImage::ElementSize(int) const'
Modules\IO\Meta\test\testMetaImage.cxx(165): note: while trying to match the argument list '(const int)'
Modules\IO\Meta\test\testMetaImage.cxx(165): note: note: qualification adjustment (const/volatile) may be causing the ambiguity1 parent c0a756a commit f17aa08
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
0 commit comments