File tree Expand file tree Collapse file tree 1 file changed +10
-15
lines changed
tools/workspace/vtk_internal/patches/upstream Expand file tree Collapse file tree 1 file changed +10
-15
lines changed Original file line number Diff line number Diff line change @@ -109,23 +109,18 @@ it's actually used.
109
109
110
110
--- Common/DataModel/vtkAMRInformation.cxx
111
111
+++ Common/DataModel/vtkAMRInformation.cxx
112
- @@ -10,6 +10,7 @@
113
- #include "vtkStructuredGrid.h"
114
- #include "vtkUnsignedIntArray.h"
115
- #include <cassert>
112
+ @@ -4,10 +4,11 @@
113
+ // VTK_DEPRECATED_IN_9_6_0
114
+ #define VTK_DEPRECATION_LEVEL 0
115
+
116
+ #include "vtkAMRInformation.h"
117
+
118
+ #include "vtkObjectFactory.h"
116
119
+ #include <iostream>
117
- #include <set>
118
-
120
+
119
121
VTK_ABI_NAMESPACE_BEGIN
120
- @@ -293,7 +294,7 @@ unsigned int vtkAMRInformation::GetNumberOfDataSets(unsigned int level) const
121
- {
122
- if (level >= this->GetNumberOfLevels())
123
- {
124
- - cerr << "WARNING: No data set at this level" << endl;
125
- + std::cerr << "WARNING: No data set at this level" << endl;
126
- return 0;
127
- }
128
- return this->NumBlocks[level + 1] - this->NumBlocks[level];
122
+ vtkStandardNewMacro(vtkAMRInformation);
123
+ VTK_ABI_NAMESPACE_END
129
124
130
125
--- Common/DataModel/vtkBSPCuts.cxx
131
126
+++ Common/DataModel/vtkBSPCuts.cxx
You can’t perform that action at this time.
0 commit comments