[Groonga-commit] groonga/grnxx at 12b9bb2 [new_data_types] Add copy constructor and assignment operator to GeoPoint.

Back to archive index

susumu.yata null+****@clear*****
Mon Nov 17 10:51:36 JST 2014


susumu.yata	2014-11-17 10:51:36 +0900 (Mon, 17 Nov 2014)

  New Revision: 12b9bb2301acc44ec7936564c577caea4145f973
  https://github.com/groonga/grnxx/commit/12b9bb2301acc44ec7936564c577caea4145f973

  Message:
    Add copy constructor and assignment operator to GeoPoint.

  Modified files:
    include/grnxx/data_types/scalar/geo_point.hpp

  Modified: include/grnxx/data_types/scalar/geo_point.hpp (+3 -0)
===================================================================
--- include/grnxx/data_types/scalar/geo_point.hpp    2014-11-17 10:43:08 +0900 (9a77a5b)
+++ include/grnxx/data_types/scalar/geo_point.hpp    2014-11-17 10:51:36 +0900 (6d76b0a)
@@ -19,6 +19,9 @@ class GeoPoint {
   GeoPoint() = default;
   ~GeoPoint() = default;
 
+  GeoPoint(const GeoPoint &) = default;
+  GeoPoint &operator=(const GeoPoint &) = default;
+
   // NOTE: The following implementation assumes that Int::na()::value() returns
   //       a value less than min_latitude/longitude() or greater than
   //       max_latitude/longitude().
-------------- next part --------------
HTML����������������������������...
下載 



More information about the Groonga-commit mailing list
Back to archive index