Просмотр исходного кода

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

tags/3.1
Vsevolod Stakhov 2 лет назад
Родитель
Сommit
449aca4df9
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      src/libmime/received.hxx

+ 1
- 1
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>& {

Загрузка…
Отмена
Сохранить