-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.54..v0.2.55 changeset Hoot.h
Garret Voltz edited this page Aug 14, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/Hoot.h b/hoot-core/src/main/cpp/hoot/core/Hoot.h
index d2c41c7..9d6e325 100644
--- a/hoot-core/src/main/cpp/hoot/core/Hoot.h
+++ b/hoot-core/src/main/cpp/hoot/core/Hoot.h
@@ -22,7 +22,7 @@
* This will properly maintain the copyright information. DigitalGlobe
* copyrights will be updated automatically.
*
- * @copyright Copyright (C) 2015, 2016, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2016, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
*/
#ifndef HOOT_H
#define HOOT_H
@@ -62,13 +62,17 @@ public:
private:
- static std::shared_ptr<Hoot> _theInstance;
-
- Hoot();
-
void _init();
long _toBytes(const QString& str) const;
+
+ // Constructor
+ Hoot();
+ /** Default destructor */
+ ~Hoot() = default;
+ /** Delete copy constructor and assignment operator */
+ Hoot(const Hoot&) = delete;
+ Hoot& operator=(const Hoot&) = delete;
};
}