mirror of
https://github.com/glest/glest-source.git
synced 2025-09-02 20:42:34 +02:00
Replaced emplace_back with push_back
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#ifdef _WIN32
|
||||
#define WIN32_LEAN_AND_MEAN 1
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
typedef HANDLE PipeType;
|
||||
#define NULLPIPE NULL
|
||||
typedef unsigned __int8 uint8;
|
||||
|
@@ -468,7 +468,7 @@ namespace Glest {
|
||||
for (int i = 0; i < (int) scriptsNode->getChildCount(); ++i) {
|
||||
const XmlNode *scriptNode = scriptsNode->getChild(i);
|
||||
|
||||
scripts.emplace_back(Script(getFunctionName(scriptNode), scriptNode->getText()));
|
||||
scripts.push_back(Script(getFunctionName(scriptNode), scriptNode->getText()));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user