[Groonga-commit] groonga/grnxx at 5c47d2d [new_data_types] Remove Text::operator[]().

Back to archive index

susumu.yata null+****@clear*****
Tue Nov 25 15:20:33 JST 2014


susumu.yata	2014-11-25 15:20:33 +0900 (Tue, 25 Nov 2014)

  New Revision: 5c47d2d76dbd01a290844a718d6cfc73b11eee6e
  https://github.com/groonga/grnxx/commit/5c47d2d76dbd01a290844a718d6cfc73b11eee6e

  Message:
    Remove Text::operator[]().

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

  Modified: include/grnxx/data_types/scalar/text.hpp (+0 -3)
===================================================================
--- include/grnxx/data_types/scalar/text.hpp    2014-11-25 15:05:05 +0900 (ab430ba)
+++ include/grnxx/data_types/scalar/text.hpp    2014-11-25 15:20:33 +0900 (9259206)
@@ -29,9 +29,6 @@ class Text {
         size_(string.size()) {}
   explicit constexpr Text(NA) : data_(nullptr), size_(NA()) {}
 
-  const char &operator[](size_t i) const {
-    return data_[i];
-  }
   constexpr const char *data() const {
     return data_;
   }
-------------- next part --------------
HTML����������������������������...
Download 



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