-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.54..v0.2.55 changeset LibPostalInit.h
Garret Voltz edited this page Aug 14, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/conflate/address/LibPostalInit.h b/hoot-core/src/main/cpp/hoot/core/conflate/address/LibPostalInit.h
index 6cc99e5..ff75811 100644
--- a/hoot-core/src/main/cpp/hoot/core/conflate/address/LibPostalInit.h
+++ b/hoot-core/src/main/cpp/hoot/core/conflate/address/LibPostalInit.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 LIB_POSTAL_INIT_H
#define LIB_POSTAL_INIT_H
@@ -44,17 +44,18 @@ class LibPostalInit
{
public:
- ~LibPostalInit();
-
- static const LibPostalInitPtr& getInstance();
+ static LibPostalInit& getInstance();
private:
- LibPostalInit();
+ QString _dataDir;
- static LibPostalInitPtr _theInstance;
+ LibPostalInit();
+ ~LibPostalInit();
+ /** Delete copy constructor and assignment operator */
+ LibPostalInit(const LibPostalInit&) = delete;
+ LibPostalInit& operator=(const LibPostalInit&) = delete;
- QString _dataDir;
};
}