From 3bf4e26b1319295532bb4396cbd6406d85cbcae0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 29 Mar 2012 03:51:37 +0300 Subject: Replace vectors with strings to short names. --- src/resources/resourcemanager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/resources/resourcemanager.cpp') 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 &lines) + StringVect &lines) { int contentsLength; char *fileContents = static_cast( @@ -654,12 +654,12 @@ bool ResourceManager::loadTextFile(const std::string &fileName, return true; } -std::vector ResourceManager::loadTextFileLocal( +StringVect ResourceManager::loadTextFileLocal( const std::string &fileName) { std::ifstream file; char line[501]; - std::vector lines; + StringVect lines; file.open(fileName.c_str(), std::ios::in); -- cgit v1.2.3-60-g2f50