diff options
author | alevitskii <[email protected]> | 2025-09-04 10:00:21 +0300 |
---|---|---|
committer | alevitskii <[email protected]> | 2025-09-04 10:19:32 +0300 |
commit | 8da3e97c84353501738d1ff485708bf8b7185eb8 (patch) | |
tree | dfe1363035f5daa04064c8cdacc3835b3a5cdf90 /contrib/python/marisa-trie/py3/patches/01-throw.patch | |
parent | 4c3f3af78aac956c2d034edb4a0d7c778b9fe9d3 (diff) |
DEPENDS on linter wrappers to get them exported to opensource
DEPENDS on linter wrappers to get them exported to oss
commit_hash:286fa6981744f667a509749a33afcc3421903842
Diffstat (limited to 'contrib/python/marisa-trie/py3/patches/01-throw.patch')
-rw-r--r-- | contrib/python/marisa-trie/py3/patches/01-throw.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/python/marisa-trie/py3/patches/01-throw.patch b/contrib/python/marisa-trie/py3/patches/01-throw.patch new file mode 100644 index 00000000000..427f7929d36 --- /dev/null +++ b/contrib/python/marisa-trie/py3/patches/01-throw.patch @@ -0,0 +1,20 @@ +--- contrib/python/marisa-trie/py3/marisa-trie/include/marisa/exception.h (index) ++++ contrib/python/marisa-trie/py3/marisa-trie/include/marisa/exception.h (working tree) +@@ -19,7 +21,7 @@ class Exception : public std::exception { + Exception(const Exception &ex) + : std::exception(), filename_(ex.filename_), line_(ex.line_), + error_code_(ex.error_code_), error_message_(ex.error_message_) {} +- virtual ~Exception() throw() {} ++ virtual ~Exception() {} + + Exception &operator=(const Exception &rhs) { + filename_ = rhs.filename_; +@@ -42,7 +44,7 @@ class Exception : public std::exception { + return error_message_; + } + +- virtual const char *what() const throw() { ++ virtual const char *what() const noexcept { + return error_message_; + } + |