susumu.yata
null+****@clear*****
Fri Feb 22 14:10:39 JST 2013
susumu.yata 2013-02-22 14:10:39 +0900 (Fri, 22 Feb 2013) New Revision: 46c17adf433e4b37dc252c1da840e21e68a485f2 https://github.com/groonga/grnxx/commit/46c17adf433e4b37dc252c1da840e21e68a485f2 Log: Update grnxx::map::da::TrieException. Explicitly initialize and copy its base class. Modified files: lib/map/da/trie.hpp Modified: lib/map/da/trie.hpp (+4 -4) =================================================================== --- lib/map/da/trie.hpp 2013-02-22 13:57:56 +0900 (56950d8) +++ lib/map/da/trie.hpp 2013-02-22 14:10:39 +0900 (f1aeca7) @@ -33,15 +33,15 @@ enum TrieType : int32_t { class TrieException : Exception { public: - TrieException() noexcept {} - virtual ~TrieException() noexcept {} + TrieException() noexcept : Exception() {} + ~TrieException() noexcept {} - TrieException(const TrieException &) noexcept {} + TrieException(const TrieException &x) noexcept : Exception(x) {} TrieException &operator=(const TrieException &) noexcept { return *this; } - virtual const char *what() const noexcept { + const char *what() const noexcept { return ""; } }; -------------- next part -------------- HTML����������������������������... Download