Commit 7fdb6d6
committed
COMP: Use modern macro name for GetModifiableObjectMacro
Compilation error when future legacy is enabled.
In file included from ../Modules/Core/Mesh/src/itkTriangleMeshCurvatureCalculator.cxx:18:
../Modules/Core/Mesh/include/itkTriangleMeshCurvatureCalculator.h:110:3: error: use of undeclared identifier purposeful_error
itkGetObjectMacro(GaussCurvatureData, DoubleVectorContainer);
^
../Modules/Core/Common/include/itkMacro.h:1128:7: note: expanded from macro itkGetObjectMacro
purposeful_error("itkGetObjectMacro should be replaced with itkGetModifiableObjectMacro.");1 parent faa3ab0 commit 7fdb6d6
File tree
2 files changed
+2
-3
lines changed- Modules/Core/Mesh
- include
- test
2 files changed
+2
-3
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| |||
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
72 | | - | |
| 71 | + | |
73 | 72 | | |
74 | 73 | | |
75 | 74 | | |
| |||
0 commit comments