Skip to content

v0.2.55..v0.2.56 changeset BuildingPartMergeOp.h

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/ops/BuildingPartMergeOp.h b/hoot-core/src/main/cpp/hoot/core/ops/BuildingPartMergeOp.h
index 32a8bdf..2864e1d 100644
--- a/hoot-core/src/main/cpp/hoot/core/ops/BuildingPartMergeOp.h
+++ b/hoot-core/src/main/cpp/hoot/core/ops/BuildingPartMergeOp.h
@@ -99,9 +99,9 @@ public:
 
   static std::string className() { return "hoot::BuildingPartMergeOp"; }
 
-  static int logWarnCount;
 
   BuildingPartMergeOp(bool preserveTypes = false);
+  virtual ~BuildingPartMergeOp() = default;
 
   virtual void apply(OsmMapPtr& map) override;
 
@@ -109,8 +109,8 @@ public:
 
   virtual std::string getClassName() const { return className(); }
 
-  virtual void readObject(QDataStream& /*is*/) {}
-  virtual void writeObject(QDataStream& /*os*/) const {}
+  virtual void readObject(QDataStream& /*is*/) { }
+  virtual void writeObject(QDataStream& /*os*/) const { }
 
   virtual QString getDescription() const override
   { return "Merges individual building parts into a single building"; }
@@ -134,6 +134,8 @@ public:
 
 private:
 
+  static int logWarnCount;
+
   // used to keep track of which elements make up a building
   Tgs::DisjointSetMap<ElementPtr> _buildingPartGroups;
 
Clone this wiki locally