X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FResource.cc;h=d958c3aa9e551cc584d9fe14fe02cf3275846041;hp=5efe8f53f43c4ae0ebdb98102d5870df8deb27a7;hb=bfa6212d09d8735d8fd5e2638188e4a99f21ada4;hpb=c2321281bf12a7efaedde930422c7ddbc92080d4 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;