Add const to a few pointer arguments

This commit is contained in:
thalieht 2019-02-22 04:24:22 +02:00
parent ce437817de
commit 77aea3c59e
10 changed files with 12 additions and 12 deletions

View file

@ -142,7 +142,7 @@ QJsonObject Article::toJsonObject() const
return jsonObj;
}
bool Article::articleDateRecentThan(Article *article, const QDateTime &date)
bool Article::articleDateRecentThan(const Article *article, const QDateTime &date)
{
return article->date() > date;
}