Skip to content
Snippets Groups Projects
Commit 152f7beb authored by Bill Lorensen's avatar Bill Lorensen
Browse files

ENH: Replace statics inside anonymous namespace.

parent 5f22a2fa
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,10 @@
#include <vtkCallbackCommand.h>
#include <vtkCommand.h>
static void MakeGlyphs(vtkPolyData *src, double size, vtkGlyph3D *glyph);
namespace
{
void MakeGlyphs(vtkPolyData *src, double size, vtkGlyph3D *glyph);
}
struct Pipeline {
vtkFrenetSerretFrame *frame;
......@@ -175,6 +178,8 @@ int main(int, char *[])
return EXIT_SUCCESS;
}
namespace
{
void MakeGlyphs(vtkPolyData *src, double size, vtkGlyph3D *glyph)
{
// Source for the glyph filter
......@@ -192,3 +197,4 @@ void MakeGlyphs(vtkPolyData *src, double size, vtkGlyph3D *glyph)
glyph->OrientOn();
glyph->Update();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment