Commit f78da8f9 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Revert a part of previous commit. (crashed)

parent 30e622a8
Pipeline #73301 passed with stage
in 5 minutes and 14 seconds
......@@ -652,7 +652,7 @@ void Content::appendHeader(Headers::Base *h)
bool Content::removeHeader(const char *type)
{
Q_D(Content);
const auto endIt = d->headers.constEnd();
const auto endIt = d->headers.end();
for (auto it = d->headers.begin(); it != endIt; ++it)
if ((*it)->is(type)) {
delete(*it);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment