1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 06:53:53 +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 <QMetaEnum>
#include <QRegExp>
#include <QStringList>
#include "shortcut.hpp"
@ -27,7 +29,7 @@ namespace CSMPrefs
{
if (it->second == shortcut)
{
it = mShortcuts.erase(it);
mShortcuts.erase(it++);
}
else
{
@ -45,7 +47,7 @@ namespace CSMPrefs
{
if (it->second == wrapper)
{
it = mShortcutWrappers.erase(it);
mShortcutWrappers.erase(it++);
}
else
{