Skip to content

v0.2.54..v0.2.55 changeset OsmSchemaLoaderFactory.h

Garret Voltz edited this page Aug 14, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/schema/OsmSchemaLoaderFactory.h b/hoot-core/src/main/cpp/hoot/core/schema/OsmSchemaLoaderFactory.h
index 0b9d8de..e1037a6 100644
--- a/hoot-core/src/main/cpp/hoot/core/schema/OsmSchemaLoaderFactory.h
+++ b/hoot-core/src/main/cpp/hoot/core/schema/OsmSchemaLoaderFactory.h
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2015, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 #ifndef OSMSCHEMALOADERFACTORY_H
 #define OSMSCHEMALOADERFACTORY_H
@@ -50,9 +50,12 @@ public:
 
 private:
 
-  OsmSchemaLoaderFactory() {}
-
-  static std::shared_ptr<OsmSchemaLoaderFactory> _theInstance;
+  /** Default constructor/destructor */
+  OsmSchemaLoaderFactory() = default;
+  ~OsmSchemaLoaderFactory() = default;
+  /** Delete copy constructor and assignment operator */
+  OsmSchemaLoaderFactory(const OsmSchemaLoaderFactory&) = delete;
+  OsmSchemaLoaderFactory& operator=(const OsmSchemaLoaderFactory&) = delete;
 };
 
 }
Clone this wiki locally