[Groonga-commit] groonga/grnxx at dac8052 [master] Change union to class.

Back to archive index

susumu.yata null+****@clear*****
Mon Jul 1 15:15:23 JST 2013


susumu.yata	2013-07-01 15:15:23 +0900 (Mon, 01 Jul 2013)

  New Revision: dac8052fbb70ba38463c56db7235934e21cde992
  https://github.com/groonga/grnxx/commit/dac8052fbb70ba38463c56db7235934e21cde992

  Message:
    Change union to class.

  Modified files:
    lib/grnxx/geo_point.hpp
    lib/grnxx/traits.hpp

  Modified: lib/grnxx/geo_point.hpp (+1 -1)
===================================================================
--- lib/grnxx/geo_point.hpp    2013-07-01 15:10:44 +0900 (db43611)
+++ lib/grnxx/geo_point.hpp    2013-07-01 15:15:23 +0900 (098939d)
@@ -27,7 +27,7 @@ namespace grnxx {
 class StringBuilder;
 
 // Latitude and longitude (lat/long).
-union GeoPoint {
+class GeoPoint {
  private:
   struct Point {
     int32_t latitude;

  Modified: lib/grnxx/traits.hpp (+1 -1)
===================================================================
--- lib/grnxx/traits.hpp    2013-07-01 15:10:44 +0900 (20c58bb)
+++ lib/grnxx/traits.hpp    2013-07-01 15:15:23 +0900 (cb57723)
@@ -24,7 +24,7 @@
 
 namespace grnxx {
 
-union GeoPoint;
+class GeoPoint;
 
 // A simple/complex type should use pass by value/reference.
 template <typename T>
-------------- next part --------------
HTML����������������������������...
Download 



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