Commit 94a4a9d2 authored by Ben Boeckel's avatar Ben Boeckel

vtkTracksAllInstances: nop out smtkDeclareTracksAllInstances for wrapping

parent 3aa4a697
Pipeline #79106 passed with stage
......@@ -10,6 +10,7 @@
#pragma once
/// !file
#ifndef __VTK_WRAP__
/**\brief Declare that a class will track all instances of itself.
*
* Invoke this macro in a public section of your class declaration.
......@@ -33,6 +34,9 @@ public:
void linkInstance(); \
void unlinkInstance(); \
static void visitInstances(std::function<bool(cls*)>);
#else
#define smtkDeclareTracksAllInstances(cls)
#endif
/**\brief Implement methods for tracking all instances of a class.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment