susumu.yata
null+****@clear*****
Mon Dec 10 13:00:16 JST 2012
susumu.yata 2012-12-10 13:00:16 +0900 (Mon, 10 Dec 2012) New Revision: 50ec934f83e453d789a3e448cd5e28559a93758c https://github.com/groonga/grnxx/commit/50ec934f83e453d789a3e448cd5e28559a93758c Log: Suppress a warning (gcc-4.7). Modified files: lib/string_builder.hpp Modified: lib/string_builder.hpp (+3 -0) =================================================================== --- lib/string_builder.hpp 2012-12-10 12:59:37 +0900 (6125fbf) +++ lib/string_builder.hpp 2012-12-10 13:00:16 +0900 (855fad6) @@ -128,6 +128,9 @@ class StringBuilder { !resize_buf(this->length() + length + 1)) { length = size_left; failed_ = true; + if (length == 0) { + return *this; + } } } -------------- next part -------------- HTML����������������������������... ダウンロード