summaryrefslogtreecommitdiff
path: root/src/boosty.h
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2013-03-17 18:21:15 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2013-03-17 18:21:15 (GMT)
commitc8c749de1893d76966d924e22276b3d7d58f3b58 (patch)
tree9a875f3033d17165815dc486640bd28d5aed3149 /src/boosty.h
parent100b1733df981aa542675d2dad198a259a61ccd2 (diff)
fix some bugs in wrapper of canonical()
Diffstat (limited to 'src/boosty.h')
-rw-r--r--src/boosty.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/boosty.h b/src/boosty.h
index 5c82002..6dc9858 100644
--- a/src/boosty.h
+++ b/src/boosty.h
@@ -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
contact: Jan Huwald // Impressum