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:
parent
40297701d0
commit
3fa4fdb839
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue