static/anonymous namespace is not allowed in header files

This commit is contained in:
Li-Ta Lo 2021-10-28 10:54:47 -06:00
parent b01ba506cf
commit dd9e5acdc6

@ -20,11 +20,12 @@
#include <vtkm/worklet/WorkletPointNeighborhood.h> #include <vtkm/worklet/WorkletPointNeighborhood.h>
namespace vtkm
{
namespace filter
{
namespace namespace
{ {
struct TypeUInt8 : vtkm::List<vtkm::UInt8>
{
};
class SetStructuredGhostCells1D : public vtkm::worklet::WorkletPointNeighborhood class SetStructuredGhostCells1D : public vtkm::worklet::WorkletPointNeighborhood
{ {
@ -89,12 +90,7 @@ public:
private: private:
vtkm::IdComponent NumLayers; vtkm::IdComponent NumLayers;
}; };
}; } // namespace
namespace vtkm
{
namespace filter
{
inline VTKM_CONT GhostCellClassify::GhostCellClassify() {} inline VTKM_CONT GhostCellClassify::GhostCellClassify() {}