susumu.yata
null+****@clear*****
Tue Aug 5 15:35:49 JST 2014
susumu.yata 2014-08-05 15:35:49 +0900 (Tue, 05 Aug 2014) New Revision: b3e20bfdf064fc3374489570e7a544d2c750f11c https://github.com/groonga/grnxx/commit/b3e20bfdf064fc3374489570e7a544d2c750f11c Message: Remove an unused function. Modified files: include/grnxx/array.hpp lib/grnxx/array.cpp Modified: include/grnxx/array.hpp (+0 -1) =================================================================== --- include/grnxx/array.hpp 2014-08-05 13:27:09 +0900 (bc95403) +++ include/grnxx/array.hpp 2014-08-05 15:35:49 +0900 (94e9d84) @@ -10,7 +10,6 @@ namespace grnxx { class ArrayHelper { public: static void report_memory_error(Error *error); - static void report_empty_error(Error *error); }; template <typename T> Modified: lib/grnxx/array.cpp (+0 -4) =================================================================== --- lib/grnxx/array.cpp 2014-08-05 13:27:09 +0900 (7aca8df) +++ lib/grnxx/array.cpp 2014-08-05 15:35:49 +0900 (5ed1301) @@ -8,8 +8,4 @@ void ArrayHelper::report_memory_error(Error *error) { GRNXX_ERROR_SET(error, NO_MEMORY, "Memory allocation failed"); } -void ArrayHelper::report_empty_error(Error *error) { - GRNXX_ERROR_SET(error, INVALID_OPERATION, "Empty vector"); -} - } // namespace grnxx -------------- next part -------------- HTML����������������������������... Télécharger