fix some bugs in wrapper of canonical()

felipesanches-svg
don bright 2013-03-17 11:21:15 -07:00
parent 100b1733df
commit c8c749de18
1 changed files with 2 additions and 2 deletions

View File

@ -85,12 +85,12 @@ inline std::string extension_str( fs::path p)
inline fs::path canonical( fs::path p, fs::path p2 )
{
return fs::canonical( p, p2, NULL );
return fs::canonical( p, p2 );
}
inline fs::path canonical( fs::path p )
{
return fs::canonical( p, fs::current_path(), NULL );
return fs::canonical( p );
}
#else