[Groonga-commit] groonga/grnxx [master] Add a missing default argument.

Back to archive index

susumu.yata null+****@clear*****
Mon Feb 18 13:43:51 JST 2013


susumu.yata	2013-02-18 13:43:51 +0900 (Mon, 18 Feb 2013)

  New Revision: 6e104fed4d9947eef7c88ffb57143d92970bb16b
  https://github.com/groonga/grnxx/commit/6e104fed4d9947eef7c88ffb57143d92970bb16b

  Log:
    Add a missing default argument.

  Modified files:
    lib/map.hpp

  Modified: lib/map.hpp (+1 -1)
===================================================================
--- lib/map.hpp    2013-02-18 12:09:31 +0900 (53eb48b)
+++ lib/map.hpp    2013-02-18 13:43:51 +0900 (81c2fdd)
@@ -52,7 +52,7 @@ class Map {
 
   virtual uint32_t block_id() const = 0;
 
-  virtual bool search(int64_t key_id, Slice *key) = 0;
+  virtual bool search(int64_t key_id, Slice *key = nullptr) = 0;
   virtual bool search(const Slice &key, int64_t *key_id = nullptr) = 0;
 
   virtual bool insert(const Slice &key, int64_t *key_id = nullptr) = 0;
-------------- next part --------------
HTML����������������������������...
Download 



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