-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.50..v0.2.51 changeset ElementType.h
Garret Voltz edited this page Jan 15, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/elements/ElementType.h b/hoot-core/src/main/cpp/hoot/core/elements/ElementType.h
index 610c809..3d3b5a5 100644
--- a/hoot-core/src/main/cpp/hoot/core/elements/ElementType.h
+++ b/hoot-core/src/main/cpp/hoot/core/elements/ElementType.h
@@ -22,7 +22,7 @@
* This will properly maintain the copyright information. DigitalGlobe
* copyrights will be updated automatically.
*
- * @copyright Copyright (C) 2015, 2016, 2018 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2016, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
*/
#ifndef ELEMENTTYPE_H
#define ELEMENTTYPE_H
@@ -48,8 +48,8 @@ public:
Unknown
} Type;
- ElementType() { _type = Unknown; }
- ElementType(Type type) { _type = type; }
+ ElementType() : _type(Unknown) { }
+ ElementType(Type type) : _type(type) { }
bool operator==(ElementType t) const { return t._type == _type; }
bool operator!=(ElementType t) const { return t._type != _type; }