[Groonga-commit] groonga/grnxx at 90010b3 [master] Make Cursor's constructor protected.

Back to archive index

susumu.yata null+****@clear*****
Tue Jul 8 16:11:24 JST 2014


susumu.yata	2014-07-08 16:11:24 +0900 (Tue, 08 Jul 2014)

  New Revision: 90010b3edc90f5788ca05e5d2845b8fb4204077e
  https://github.com/groonga/grnxx/commit/90010b3edc90f5788ca05e5d2845b8fb4204077e

  Message:
    Make Cursor's constructor protected.

  Modified files:
    include/grnxx/cursor.hpp

  Modified: include/grnxx/cursor.hpp (+2 -1)
===================================================================
--- include/grnxx/cursor.hpp    2014-07-08 16:07:00 +0900 (1650a3f)
+++ include/grnxx/cursor.hpp    2014-07-08 16:11:24 +0900 (78baa2c)
@@ -21,7 +21,6 @@ struct CursorOptions {
 
 class Cursor {
  public:
-  explicit Cursor(const Table *table) : table_(table) {}
   virtual ~Cursor() {}
 
   // Return the associated table.
@@ -43,6 +42,8 @@ class Cursor {
 
  protected:
   const Table *table_;
+
+  explicit Cursor(const Table *table) : table_(table) {}
 };
 
 }  // namespace grnxx
-------------- next part --------------
HTML����������������������������...
Descargar 



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