aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-10-05 12:16:09 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-10-05 12:16:09 +0100
commit449aca4df972fcf558ecf6c30e7ac72ce81c60a0 (patch)
tree1e0cfcf4474423409097dcddecfa8697b91cf399 /src
parentf5ed45a2cfcc73ae3ed2c9fcd25c7ba338ed1dad (diff)
downloadrspamd-449aca4df972fcf558ecf6c30e7ac72ce81c60a0.tar.gz
rspamd-449aca4df972fcf558ecf6c30e7ac72ce81c60a0.zip
[Minor] Fix build where vector size() is not constexpr
Diffstat (limited to 'src')
-rw-r--r--src/libmime/received.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/received.hxx b/src/libmime/received.hxx
index 7c8d5f397..8320d2c2c 100644
--- a/src/libmime/received.hxx
+++ b/src/libmime/received.hxx
@@ -166,7 +166,7 @@ public:
return std::nullopt;
}
- constexpr auto size() const -> std::size_t {
+ auto size() const -> std::size_t {
return headers.size();
}
constexpr auto as_vector() const -> const std::vector<received_header>& {