susumu.yata
null+****@clear*****
Mon May 27 15:58:28 JST 2013
susumu.yata 2013-05-27 15:58:28 +0900 (Mon, 27 May 2013) New Revision: 79f43f24f97a2fa3968471f21b5b7465274a65d4 https://github.com/groonga/grnxx/commit/79f43f24f97a2fa3968471f21b5b7465274a65d4 Message: Add a missing static specifier. Modified files: lib/grnxx/map/cursor_impl.cpp lib/grnxx/map/cursor_impl.hpp Modified: lib/grnxx/map/cursor_impl.cpp (+1 -1) =================================================================== --- lib/grnxx/map/cursor_impl.cpp 2013-05-27 15:46:10 +0900 (ed981c4) +++ lib/grnxx/map/cursor_impl.cpp 2013-05-27 15:58:28 +0900 (e8c681f) @@ -208,7 +208,7 @@ KeyRangeCursor<T> *KeyRangeCursor<T>::create( GRNXX_ERROR() << "new grnxx::map::KeyRangeCursor<T> failed"; return nullptr; } - query_ = query; + cursor->query_ = query; if (!cursor->init(map, options)) { return nullptr; } Modified: lib/grnxx/map/cursor_impl.hpp (+3 -2) =================================================================== --- lib/grnxx/map/cursor_impl.hpp 2013-05-27 15:46:10 +0900 (c72155d) +++ lib/grnxx/map/cursor_impl.hpp 2013-05-27 15:58:28 +0900 (77efc86) @@ -93,8 +93,9 @@ class KeyRangeCursor : public KeyFilterCursor<T> { KeyRangeCursor(); ~KeyRangeCursor(); - KeyRangeCursor *create(Map<T> *map, const MapCursorKeyRange<T> &query, - const MapCursorOptions &options); + static KeyRangeCursor *create(Map<T> *map, + const MapCursorKeyRange<T> &query, + const MapCursorOptions &options); private: MapCursorKeyRange<T> query_; -------------- next part -------------- HTML����������������������������... ダウンロード