summaryrefslogtreecommitdiffstats
path: root/contrib/python/marisa-trie/py3/patches/01-throw.patch
diff options
context:
space:
mode:
authoralevitskii <[email protected]>2025-09-04 10:00:21 +0300
committeralevitskii <[email protected]>2025-09-04 10:19:32 +0300
commit8da3e97c84353501738d1ff485708bf8b7185eb8 (patch)
treedfe1363035f5daa04064c8cdacc3835b3a5cdf90 /contrib/python/marisa-trie/py3/patches/01-throw.patch
parent4c3f3af78aac956c2d034edb4a0d7c778b9fe9d3 (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.patch20
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_;
+ }
+