diff options
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h index af75514c..ad9b0562 100644 --- a/src/utils.h +++ b/src/utils.h @@ -92,6 +92,12 @@ namespace ledger { typedef boost::filesystem::filesystem_error filesystem_error; } +#if BOOST_FILESYSTEM_VERSION == 3 +namespace boost { namespace filesystem3 { namespace path_traits { +template<> struct is_pathable<ledger::string> { static const bool value = true; }; +}}} +#endif + /*@}*/ /** |