diff options
author | don bright <hugh.m.bright@gmail.com> | 2013-03-17 17:34:47 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2013-03-17 17:34:47 (GMT) |
commit | 100b1733df981aa542675d2dad198a259a61ccd2 (patch) | |
tree | 6b93a88cf634fa2d1b7abbf9cea7511593718f39 /src/value.cc | |
parent | c855e4d0436a01792b540c7857e1a1997f4810d7 (diff) |
backport boost functions to pre-1.48
Diffstat (limited to 'src/value.cc')
-rw-r--r-- | src/value.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/value.cc b/src/value.cc index ae810a2..ebb825d 100644 --- a/src/value.cc +++ b/src/value.cc @@ -39,7 +39,9 @@ std::ostream &operator<<(std::ostream &stream, const Filename &filename) { - stream << QuotedString(boosty::stringy(boostfs_uncomplete(filename, fs::current_path()))); + fs::path fnpath = fs::path( (std::string)filename ); + fs::path fpath = boostfs_uncomplete(fnpath, fs::current_path()); + stream << QuotedString(boosty::stringy( fpath )); return stream; } |