Added assignment operator to KKJ class.
[ptas] / src / kkj.h
index 5daddde..ec7d79b 100644 (file)
--- a/src/kkj.h
+++ b/src/kkj.h
@@ -33,6 +33,13 @@ public:
     bool operator==(const KKJ &rhs) const;
 
     /**
+     * Assignment operator.
+     * @param rhs the object that is copied.
+     * @return this object.
+     */
+    KKJ& operator=(const KKJ &rhs);
+
+    /**
      * Returns the northing of the coordinate.
      * @return the northing.
      */