From 16152ce503098195492622403add14bb4c09bb98 Mon Sep 17 00:00:00 2001
From: Ben Boeckel <ben.boeckel@kitware.com>
Date: Wed, 7 Oct 2015 17:35:17 -0400
Subject: [PATCH] HeaderTest: fix copy ctor and assignment operators

---
 Domains/Chemistry/vtkBlueObeliskDataParser.h      | 5 ++---
 Domains/Chemistry/vtkOpenQubeElectronicData.h     | 5 ++---
 Domains/Chemistry/vtkOpenQubeMoleculeSource.h     | 5 ++---
 Domains/Chemistry/vtkProgrammableElectronicData.h | 5 ++---
 GUISupport/Qt/vtkEventQtSlotConnect.h             | 6 ++----
 Views/Qt/vtkQtTableRepresentation.h               | 4 ++--
 6 files changed, 12 insertions(+), 18 deletions(-)

diff --git a/Domains/Chemistry/vtkBlueObeliskDataParser.h b/Domains/Chemistry/vtkBlueObeliskDataParser.h
index 0e11cb05b9..b756eb92d2 100644
--- a/Domains/Chemistry/vtkBlueObeliskDataParser.h
+++ b/Domains/Chemistry/vtkBlueObeliskDataParser.h
@@ -133,9 +133,8 @@ protected:
   unsigned int CurrentGroup;
 
 private:
-  // Not implemented
-  vtkBlueObeliskDataParser(const vtkBlueObeliskDataParser&);
-  void operator=(const vtkBlueObeliskDataParser&);
+  vtkBlueObeliskDataParser(const vtkBlueObeliskDataParser&); // Not implemented
+  void operator=(const vtkBlueObeliskDataParser&); // Not implemented
 
   // Description:
   // Resize array if needed and set the entry at ind to val.
diff --git a/Domains/Chemistry/vtkOpenQubeElectronicData.h b/Domains/Chemistry/vtkOpenQubeElectronicData.h
index 238a32cafa..e7fc236b12 100644
--- a/Domains/Chemistry/vtkOpenQubeElectronicData.h
+++ b/Domains/Chemistry/vtkOpenQubeElectronicData.h
@@ -108,9 +108,8 @@ protected:
   double Spacing;
 
 private:
-  // Not implemented:
-  vtkOpenQubeElectronicData(const vtkOpenQubeElectronicData&);
-  void operator=(const vtkOpenQubeElectronicData&);
+  vtkOpenQubeElectronicData(const vtkOpenQubeElectronicData&); // Not implemented
+  void operator=(const vtkOpenQubeElectronicData&); // Not implemented
 };
 
 #endif
diff --git a/Domains/Chemistry/vtkOpenQubeMoleculeSource.h b/Domains/Chemistry/vtkOpenQubeMoleculeSource.h
index 6a931453fc..f25770527f 100644
--- a/Domains/Chemistry/vtkOpenQubeMoleculeSource.h
+++ b/Domains/Chemistry/vtkOpenQubeMoleculeSource.h
@@ -87,9 +87,8 @@ protected:
                                    vtkMolecule *mol);
 
 private:
-  // Not implemented:
-  vtkOpenQubeMoleculeSource(const vtkOpenQubeMoleculeSource&);
-  void operator=(const vtkOpenQubeMoleculeSource&);
+  vtkOpenQubeMoleculeSource(const vtkOpenQubeMoleculeSource&); // Not implemented
+  void operator=(const vtkOpenQubeMoleculeSource&); // Not implemented
 };
 
 #endif
diff --git a/Domains/Chemistry/vtkProgrammableElectronicData.h b/Domains/Chemistry/vtkProgrammableElectronicData.h
index 60d78a88c2..783bb5a79f 100644
--- a/Domains/Chemistry/vtkProgrammableElectronicData.h
+++ b/Domains/Chemistry/vtkProgrammableElectronicData.h
@@ -79,9 +79,8 @@ protected:
   vtkImageData *ElectronDensity;
 
 private:
-  // Not implemented:
-  vtkProgrammableElectronicData(const vtkProgrammableElectronicData&);
-  void operator=(const vtkProgrammableElectronicData&);
+  vtkProgrammableElectronicData(const vtkProgrammableElectronicData&); // Not implemented
+  void operator=(const vtkProgrammableElectronicData&); // Not implemented
 };
 
 #endif
diff --git a/GUISupport/Qt/vtkEventQtSlotConnect.h b/GUISupport/Qt/vtkEventQtSlotConnect.h
index 7f17658751..5fa7fbe198 100644
--- a/GUISupport/Qt/vtkEventQtSlotConnect.h
+++ b/GUISupport/Qt/vtkEventQtSlotConnect.h
@@ -94,10 +94,8 @@ class VTKGUISUPPORTQT_EXPORT vtkEventQtSlotConnect : public vtkObject
     ~vtkEventQtSlotConnect();
 
   private:
-    // unimplemented
-    vtkEventQtSlotConnect(const vtkEventQtSlotConnect&);
-    void operator=(const vtkEventQtSlotConnect&);
+    vtkEventQtSlotConnect(const vtkEventQtSlotConnect&); // Not implemented
+    void operator=(const vtkEventQtSlotConnect&); // Not implemented
 };
 
 #endif
-
diff --git a/Views/Qt/vtkQtTableRepresentation.h b/Views/Qt/vtkQtTableRepresentation.h
index 7f124c04fd..97ee05b3d1 100644
--- a/Views/Qt/vtkQtTableRepresentation.h
+++ b/Views/Qt/vtkQtTableRepresentation.h
@@ -123,8 +123,8 @@ public:
   virtual void SetModelType() { };
 
 private:
-  vtkQtTableRepresentation(const vtkQtTableRepresentation &);
-  void operator=(const vtkQtTableRepresentation &);
+  vtkQtTableRepresentation(const vtkQtTableRepresentation &); // Not implemented
+  void operator=(const vtkQtTableRepresentation &); // Not implemented
 
 };
 
-- 
GitLab