Commit 0fddb4d5 authored by Sean McBride's avatar Sean McBride

Add more VTK_DELETE_FUNCTION decorations

Found few more places to add VTK_DELETE_FUNCTION
parent e6bd2e60
......@@ -135,8 +135,8 @@ protected:
vtkConditionType ConditionVariable;
private:
vtkSimpleConditionVariable(const vtkSimpleConditionVariable& other); // no copy constructor
vtkSimpleConditionVariable& operator=(const vtkSimpleConditionVariable& rhs); // no copy assignment
vtkSimpleConditionVariable(const vtkSimpleConditionVariable& other) VTK_DELETE_FUNCTION;
vtkSimpleConditionVariable& operator=(const vtkSimpleConditionVariable& rhs) VTK_DELETE_FUNCTION;
};
class VTKCOMMONCORE_EXPORT vtkConditionVariable : public vtkObject
......
......@@ -120,8 +120,8 @@ public:
private:
static unsigned int Count;
private:
vtkInstantiatorInitialize(const vtkInstantiatorInitialize& other); // no copy constructor
vtkInstantiatorInitialize& operator=(const vtkInstantiatorInitialize& rhs); // no copy assignment
vtkInstantiatorInitialize(const vtkInstantiatorInitialize& other) VTK_DELETE_FUNCTION;
vtkInstantiatorInitialize& operator=(const vtkInstantiatorInitialize& rhs) VTK_DELETE_FUNCTION;
};
// This instance will show up in any translation unit that uses
......
......@@ -72,8 +72,8 @@ protected:
vtkMutexType MutexLock;
private:
vtkSimpleMutexLock(const vtkSimpleMutexLock& other); // no copy constructor
vtkSimpleMutexLock& operator=(const vtkSimpleMutexLock& rhs); // no copy assignment
vtkSimpleMutexLock(const vtkSimpleMutexLock& other) VTK_DELETE_FUNCTION;
vtkSimpleMutexLock& operator=(const vtkSimpleMutexLock& rhs) VTK_DELETE_FUNCTION;
};
class VTKCOMMONCORE_EXPORT vtkMutexLock : public vtkObject
......
......@@ -32,8 +32,8 @@ public:
~vtkOutputWindowCleanup();
private:
vtkOutputWindowCleanup(const vtkOutputWindowCleanup& other); // no copy constructor
vtkOutputWindowCleanup& operator=(const vtkOutputWindowCleanup& rhs); // no copy assignment
vtkOutputWindowCleanup(const vtkOutputWindowCleanup& other) VTK_DELETE_FUNCTION;
vtkOutputWindowCleanup& operator=(const vtkOutputWindowCleanup& rhs) VTK_DELETE_FUNCTION;
};
class VTKCOMMONCORE_EXPORT vtkOutputWindow : public vtkObject
......
......@@ -94,8 +94,8 @@ protected:
vtkCritSecType CritSec;
private:
vtkSimpleCriticalSection(const vtkSimpleCriticalSection& other); // no copy constructor
vtkSimpleCriticalSection& operator=(const vtkSimpleCriticalSection& rhs); // no copy assignment
vtkSimpleCriticalSection(const vtkSimpleCriticalSection& other) VTK_DELETE_FUNCTION;
vtkSimpleCriticalSection& operator=(const vtkSimpleCriticalSection& rhs) VTK_DELETE_FUNCTION;
};
#endif
......
......@@ -72,8 +72,8 @@ public:
int *maxCells );
private:
vtkOBBNode(const vtkOBBNode& other); // no copy constructor
vtkOBBNode& operator=(const vtkOBBNode& rhs); // no copy assignment
vtkOBBNode(const vtkOBBNode& other) VTK_DELETE_FUNCTION;
vtkOBBNode& operator=(const vtkOBBNode& rhs) VTK_DELETE_FUNCTION;
};
//
......
......@@ -62,8 +62,8 @@ public:
~vtkTextRendererCleanup();
private:
vtkTextRendererCleanup(const vtkTextRendererCleanup& other); // no copy constructor
vtkTextRendererCleanup& operator=(const vtkTextRendererCleanup& rhs); // no copy assignment
vtkTextRendererCleanup(const vtkTextRendererCleanup& other) VTK_DELETE_FUNCTION;
vtkTextRendererCleanup& operator=(const vtkTextRendererCleanup& rhs) VTK_DELETE_FUNCTION;
};
class VTKRENDERINGCORE_EXPORT vtkTextRenderer: public vtkObject
......
......@@ -41,8 +41,8 @@ public:
~vtkMathTextUtilitiesCleanup();
private:
vtkMathTextUtilitiesCleanup(const vtkMathTextUtilitiesCleanup& other); // no copy constructor
vtkMathTextUtilitiesCleanup& operator=(const vtkMathTextUtilitiesCleanup& rhs); // no copy assignment
vtkMathTextUtilitiesCleanup(const vtkMathTextUtilitiesCleanup& other) VTK_DELETE_FUNCTION;
vtkMathTextUtilitiesCleanup& operator=(const vtkMathTextUtilitiesCleanup& rhs) VTK_DELETE_FUNCTION;
};
class VTKRENDERINGFREETYPE_EXPORT vtkMathTextUtilities : public vtkObject
......
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