diff --git a/vtkm/CellTraits.h b/vtkm/CellTraits.h index a85cb9265..73075f8fa 100644 --- a/vtkm/CellTraits.h +++ b/vtkm/CellTraits.h @@ -59,7 +59,7 @@ struct CellTraits /// This defines the topological dimensions of the cell type. 3 for /// polyhedra, 2 for polygons, 1 for lines, 0 for points. /// - const static vtkm::IdComponent TOPOLOGICAL_DIMENSIONS = 3; + static const vtkm::IdComponent TOPOLOGICAL_DIMENSIONS = 3; /// This tag is typedef'ed to /// vtkm::CellTopologicalDimensionsTag. This provides diff --git a/vtkm/benchmarking/BenchmarkDeviceAdapter.cxx b/vtkm/benchmarking/BenchmarkDeviceAdapter.cxx index f8ab2a644..e6987375d 100644 --- a/vtkm/benchmarking/BenchmarkDeviceAdapter.cxx +++ b/vtkm/benchmarking/BenchmarkDeviceAdapter.cxx @@ -161,7 +161,7 @@ struct ExtendedTypes : vtkm::ListTagBase struct ComponentIsUnique { - const static bool IsUnique = TestValue != Head; + static const bool IsUnique = TestValue != Head; }; // Recursive case: @@ -51,7 +51,7 @@ template { using Next = ComponentIsUnique; - const static bool IsUnique = TestValue != Head && Next::IsUnique; + static const bool IsUnique = TestValue != Head && Next::IsUnique; }; // Validate the component map. diff --git a/vtkm/worklet/internal/ClipTables.h b/vtkm/worklet/internal/ClipTables.h index b364ad03c..5343b826c 100644 --- a/vtkm/worklet/internal/ClipTables.h +++ b/vtkm/worklet/internal/ClipTables.h @@ -36,7 +36,7 @@ namespace internal // ncells, {{celltype, nverts, {edge/verts(>=100), ...}}, ...}, \n // values < 100 represent edges where the corresponding vertex lies // values >= 100 reresent existing vertices of the input cell (vertex = value - 100) -static vtkm::UInt8 ClipTablesData[] = { +static const vtkm::UInt8 ClipTablesData[] = { // vtkm::CELL_SHAPE_VERTEX 0, // 0 1,