1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 22:53:50 +00:00

Remove use of c++11 feature and add some missing headers.

This commit is contained in:
Aesylwinn 2016-07-15 23:26:47 -04:00
parent 40297701d0
commit 3fa4fdb839

View file

@ -4,6 +4,8 @@
#include <iostream> #include <iostream>
#include <QMetaEnum> #include <QMetaEnum>
#include <QRegExp>
#include <QStringList>
#include "shortcut.hpp" #include "shortcut.hpp"
@ -27,7 +29,7 @@ namespace CSMPrefs
{ {
if (it->second == shortcut) if (it->second == shortcut)
{ {
it = mShortcuts.erase(it); mShortcuts.erase(it++);
} }
else else
{ {
@ -45,7 +47,7 @@ namespace CSMPrefs
{ {
if (it->second == wrapper) if (it->second == wrapper)
{ {
it = mShortcutWrappers.erase(it); mShortcutWrappers.erase(it++);
} }
else else
{ {