X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FMoof%2FResource.cc;h=d958c3aa9e551cc584d9fe14fe02cf3275846041;hb=3cba2347188d70f5ee6e401774b8f86acfd1a3b9;hp=5efe8f53f43c4ae0ebdb98102d5870df8deb27a7;hpb=c2321281bf12a7efaedde930422c7ddbc92080d4;p=chaz%2Fyoink diff --git a/src/Moof/Resource.cc b/src/Moof/Resource.cc index 5efe8f5..d958c3a 100644 --- a/src/Moof/Resource.cc +++ b/src/Moof/Resource.cc @@ -54,11 +54,11 @@ void Resource::addSearchPath(const std::string& directory) } } -std::string Resource::getPathToResource(const std::string& name) +std::string Resource::getPath(const std::string& name) { std::vector::iterator it; - for (it = searchPaths_.begin(); it != searchPaths_.end(); it++) + for (it = searchPaths_.begin(); it != searchPaths_.end(); ++it) { std::string fullPath(*it); fullPath += name;