diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2025-05-08 13:45:16 +0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-08 13:45:16 +0600 |
commit | fbd7e195b4cc036fb86c2c0fe3cd0e9c4965165c (patch) | |
tree | aaf814d6c542748ce2abbe99b9400b110981c323 | |
parent | 30c5b36a6ff5eee4addaf6319bfae167c70290a1 (diff) | |
parent | 08e94fb8276b568e33480df60dec0a72ba1bef26 (diff) | |
download | rspamd-master.tar.gz rspamd-master.zip |
[Fix] libmime: doctest 2.4.12 compatibilty
-rw-r--r-- | src/libmime/mime_string.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libmime/mime_string.hxx b/src/libmime/mime_string.hxx index b181576d3..d6c11d018 100644 --- a/src/libmime/mime_string.hxx +++ b/src/libmime/mime_string.hxx @@ -497,19 +497,19 @@ public: } /* Comparison */ - auto operator==(const basic_mime_string &other) + auto operator==(const basic_mime_string &other) const { return other.storage == storage; } - auto operator==(const storage_type &other) + auto operator==(const storage_type &other) const { return other == storage; } - auto operator==(const view_type &other) + auto operator==(const view_type &other) const { return other == storage; } - auto operator==(const CharT *other) + auto operator==(const CharT *other) const { if (other == NULL) { return false; |