]> git.tdb.fi Git - builder.git/commitdiff
Remove a useless path-to-string conversion
authorMikko Rasa <tdb@tdb.fi>
Sat, 31 Mar 2012 10:51:58 +0000 (13:51 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 31 Mar 2012 10:51:58 +0000 (13:51 +0300)
source/install.cpp

index f0cce2301c587729afff93cb4a3760d1b8b0b34d..bfda555cda9269c962c2d683d1eae5518c7dc9bb 100644 (file)
@@ -89,5 +89,5 @@ FS::Path Install::generate_target_path(const FileTarget &tgt, const std::string
        if(mid.empty())
                throw invalid_argument("Don't know where to install "+tgtname);
 
-       return (base/mid/tgtname).str();
+       return base/mid/tgtname;
 }