aboutsummaryrefslogtreecommitdiff
path: root/core/io/config_file.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-01-11 00:52:51 -0300
committerJuan Linietsky2017-01-11 00:52:51 -0300
commitbc26f905817945300d397696330d1ab04a1af33c (patch)
treed06338399c8ea410042f6631fb3db3efcc100b05 /core/io/config_file.cpp
parent710692278d1353aad08bc7bceb655afc1d6c950c (diff)
downloadgodot-bc26f905817945300d397696330d1ab04a1af33c.tar.gz
godot-bc26f905817945300d397696330d1ab04a1af33c.tar.zst
godot-bc26f905817945300d397696330d1ab04a1af33c.zip
Diffstat (limited to 'core/io/config_file.cpp')
-rw-r--r--core/io/config_file.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/io/config_file.cpp b/core/io/config_file.cpp
index 6039a7733..a9de74080 100644
--- a/core/io/config_file.cpp
+++ b/core/io/config_file.cpp
@@ -31,11 +31,11 @@
#include "os/file_access.h"
#include "variant_parser.h"
-StringArray ConfigFile::_get_sections() const {
+PoolStringArray ConfigFile::_get_sections() const {
List<String> s;
get_sections(&s);
- StringArray arr;
+ PoolStringArray arr;
arr.resize(s.size());
int idx=0;
for(const List<String>::Element *E=s.front();E;E=E->next()) {
@@ -46,11 +46,11 @@ StringArray ConfigFile::_get_sections() const {
return arr;
}
-StringArray ConfigFile::_get_section_keys(const String& p_section) const{
+PoolStringArray ConfigFile::_get_section_keys(const String& p_section) const{
List<String> s;
get_section_keys(p_section,&s);
- StringArray arr;
+ PoolStringArray arr;
arr.resize(s.size());
int idx=0;
for(const List<String>::Element *E=s.front();E;E=E->next()) {