]> git.tdb.fi Git - libs/core.git/blobdiff - source/utils.cpp
Add Build file
[libs/core.git] / source / utils.cpp
index af8ea8a37008eca04ce6d5e5403e53f09b1fdea3..45cd614b150ccaaea463f3c9860dabbe3bc82e1d 100644 (file)
@@ -185,7 +185,7 @@ Path relative(const Path &path, const Path &base)
 Extracts the basename from the given path.  Same thing as Path::Path(p)[-1],
 but faster.
 */
-string basename(const std::string &p);
+string basename(const std::string &p)
 {
        unsigned slash=p.rfind(DIRCHAR);
        if(slash==string::npos)