From f41ea988541ea548d73de634bf187ce9ab1ebf25 Mon Sep 17 00:00:00 2001 From: Daniel Larimer Date: Mon, 17 Dec 2012 14:06:06 -0500 Subject: [PATCH] attempt to fix unresolved ref --- src/filesystem.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/filesystem.cpp b/src/filesystem.cpp index ee001a9..8cbfab9 100644 --- a/src/filesystem.cpp +++ b/src/filesystem.cpp @@ -1,6 +1,8 @@ +//#define BOOST_NO_SCOPED_ENUMS #include #include #include +#include #include namespace fc { @@ -91,7 +93,7 @@ namespace fc { bool is_directory( const path& p ) { return boost::filesystem::is_directory(p); } bool is_regular_file( const path& p ) { return boost::filesystem::is_regular_file(p); } uint64_t file_size( const path& p ) { return boost::filesystem::file_size(p); } - void copy( const path& f, const path& t ) { boost::filesystem::copy( f, t ); } + void copy( const path& f, const path& t ) { boost::filesystem::copy( boost::filesystem::path(f), boost::filesystem::path(t) ); } bool remove( const path& f ) { return boost::filesystem::remove( f ); } fc::path canonical( const fc::path& p ) { return boost::filesystem::canonical(p); } fc::path absolute( const fc::path& p ) { return boost::filesystem::absolute(p); }