susumu.yata
null+****@clear*****
Wed Jul 10 14:43:58 JST 2013
susumu.yata 2013-07-10 14:43:58 +0900 (Wed, 10 Jul 2013) New Revision: 7d852c4f74ced6048018ecbe9a59e94788682942 https://github.com/groonga/grnxx/commit/7d852c4f74ced6048018ecbe9a59e94788682942 Message: Add a missing "explicit". Modified files: lib/grnxx/exception.hpp Modified: lib/grnxx/exception.hpp (+1 -1) =================================================================== --- lib/grnxx/exception.hpp 2013-07-09 23:56:41 +0900 (12e9814) +++ lib/grnxx/exception.hpp 2013-07-10 14:43:58 +0900 (bc3681a) @@ -62,7 +62,7 @@ class MemoryError : public Exception { // Thrown as an exception when a system call fails. class SystemError : public Exception { public: - SystemError(const Errno &code) noexcept : code_(code) {} + explicit SystemError(const Errno &code) noexcept : code_(code) {} virtual ~SystemError() noexcept {} const Errno &code() const noexcept { -------------- next part -------------- HTML����������������������������...Download