diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-29 03:51:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-03-29 03:52:16 +0300 |
commit | 3bf4e26b1319295532bb4396cbd6406d85cbcae0 (patch) | |
tree | 80a4303b29aafa21683e90e45798283a482bf1d1 /src/resources/resourcemanager.cpp | |
parent | 7f607a0f58a9eba53237955c06bf445c71d57b6c (diff) | |
download | plus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.gz plus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.bz2 plus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.xz plus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.zip |
Replace vectors with strings to short names.
Diffstat (limited to 'src/resources/resourcemanager.cpp')
-rw-r--r-- | src/resources/resourcemanager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp index ec8764a44..03f0e9770 100644 --- a/src/resources/resourcemanager.cpp +++ b/src/resources/resourcemanager.cpp @@ -632,7 +632,7 @@ bool ResourceManager::copyFile(const std::string &src, const std::string &dst) } bool ResourceManager::loadTextFile(const std::string &fileName, - std::vector<std::string> &lines) + StringVect &lines) { int contentsLength; char *fileContents = static_cast<char*>( @@ -654,12 +654,12 @@ bool ResourceManager::loadTextFile(const std::string &fileName, return true; } -std::vector<std::string> ResourceManager::loadTextFileLocal( +StringVect ResourceManager::loadTextFileLocal( const std::string &fileName) { std::ifstream file; char line[501]; - std::vector<std::string> lines; + StringVect lines; file.open(fileName.c_str(), std::ios::in); |