Convert to C++11 style for loops

This commit is contained in:
Luca Beltrame 2013-12-26 14:34:51 +01:00
parent 92af974894
commit 8b9e31d8e4
3 changed files with 9 additions and 13 deletions

View file

@ -84,6 +84,7 @@ namespace Danbooru {
const QMap< QString, Rating > DanbooruPost::initRatingMap()
{
QMap<QString, Rating> map;
map.insert("s", Safe);
map.insert("q", Questionable);