aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2025-05-08 13:45:16 +0600
committerGitHub <noreply@github.com>2025-05-08 13:45:16 +0600
commitfbd7e195b4cc036fb86c2c0fe3cd0e9c4965165c (patch)
treeaaf814d6c542748ce2abbe99b9400b110981c323
parent30c5b36a6ff5eee4addaf6319bfae167c70290a1 (diff)
parent08e94fb8276b568e33480df60dec0a72ba1bef26 (diff)
downloadrspamd-master.tar.gz
rspamd-master.zip
Merge pull request #5458 from xandris/bugfix/doctest-2.4.12-build-failureHEADmaster
[Fix] libmime: doctest 2.4.12 compatibilty
-rw-r--r--src/libmime/mime_string.hxx8
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;