Sfoglia il codice sorgente

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

tags/3.1
Vsevolod Stakhov 2 anni fa
parent
commit
449aca4df9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/libmime/received.hxx

+ 1
- 1
src/libmime/received.hxx Vedi 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…
Annulla
Salva