From dd9e5acdc6bc021ece3356a8656ef63b8b5a7464 Mon Sep 17 00:00:00 2001 From: Li-Ta Lo Date: Thu, 28 Oct 2021 10:54:47 -0600 Subject: [PATCH] static/anonymous namespace is not allowed in header files --- vtkm/filter/GhostCellClassify.hxx | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/vtkm/filter/GhostCellClassify.hxx b/vtkm/filter/GhostCellClassify.hxx index a294efb0a..902705beb 100644 --- a/vtkm/filter/GhostCellClassify.hxx +++ b/vtkm/filter/GhostCellClassify.hxx @@ -20,11 +20,12 @@ #include +namespace vtkm +{ +namespace filter +{ namespace { -struct TypeUInt8 : vtkm::List -{ -}; class SetStructuredGhostCells1D : public vtkm::worklet::WorkletPointNeighborhood { @@ -89,12 +90,7 @@ public: private: vtkm::IdComponent NumLayers; }; -}; - -namespace vtkm -{ -namespace filter -{ +} // namespace inline VTKM_CONT GhostCellClassify::GhostCellClassify() {}