[Groonga-commit] groonga/grnxx at 24a91cc [master] Fix wrong comments.

Back to archive index

susumu.yata null+****@clear*****
Mon Jul 29 13:27:15 JST 2013


susumu.yata	2013-07-29 13:27:15 +0900 (Mon, 29 Jul 2013)

  New Revision: 24a91cc63c795dada384a9efbee9ea76f92ff03b
  https://github.com/groonga/grnxx/commit/24a91cc63c795dada384a9efbee9ea76f92ff03b

  Message:
    Fix wrong comments.

  Modified files:
    lib/grnxx/map/patricia.cpp

  Modified: lib/grnxx/map/patricia.cpp (+2 -2)
===================================================================
--- lib/grnxx/map/patricia.cpp    2013-07-26 16:59:07 +0900 (edaead2)
+++ lib/grnxx/map/patricia.cpp    2013-07-29 13:27:15 +0900 (266a645)
@@ -145,7 +145,7 @@ bool Patricia<T>::unset(int64_t key_id) {
     // Not found.
     return false;
   }
-  // The root node must be a dead node because the above get() has succeeded.
+  // The root node must not be dead because the above get() has succeeded.
   uint64_t node_id = ROOT_NODE_ID;
   Node *prev_node = nullptr;
   for ( ; ; ) {
@@ -177,7 +177,7 @@ bool Patricia<T>::reset(int64_t key_id, KeyArg dest_key) {
     // Not found.
     return false;
   }
-  // The root node must be a dead node because the above get() has succeeded.
+  // The root node must not be dead because the above get() has succeeded.
   uint64_t node_id = ROOT_NODE_ID;
   Node *src_node;
   Node *src_prev_node = nullptr;
-------------- next part --------------
HTML����������������������������...
Download 



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