Browse Source

[Minor] Fix build where vector size() is not constexpr

tags/3.1
Vsevolod Stakhov 2 years ago
parent
commit
449aca4df9
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/libmime/received.hxx

+ 1
- 1
src/libmime/received.hxx View File

@@ -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>& {

Loading…
Cancel
Save