[Groonga-commit] groonga/grnxx at f39c7f7 [master] Simplify grnxx::Text variable initialization.

Back to archive index

susumu.yata null+****@clear*****
Tue Dec 2 18:06:24 JST 2014


susumu.yata	2014-12-02 18:06:24 +0900 (Tue, 02 Dec 2014)

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

  Message:
    Simplify grnxx::Text variable initialization.

  Modified files:
    test/test_index.cpp

  Modified: test/test_index.cpp (+2 -2)
===================================================================
--- test/test_index.cpp    2014-12-02 18:04:54 +0900 (96c828e)
+++ test/test_index.cpp    2014-12-02 18:06:24 +0900 (e994bda)
@@ -752,7 +752,7 @@ void test_text_find_starts_with() {
 
   // Test cursors for each value.
   for (int int_value = 0; int_value < 100; ++int_value) {
-    grnxx::Text value = grnxx::Text(bodies[int_value]);
+    grnxx::Text value(bodies[int_value]);
 
     grnxx::EndPoint prefix;
     prefix.value = value;
@@ -777,7 +777,7 @@ void test_text_find_starts_with() {
 
   // Test cursors for each value.
   for (int int_value = 0; int_value < 100; ++int_value) {
-    grnxx::Text value = grnxx::Text(bodies[int_value]);
+    grnxx::Text value(bodies[int_value]);
 
     grnxx::EndPoint prefix;
     prefix.value = value;
-------------- next part --------------
HTML����������������������������...
Télécharger 



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