diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-11-25 22:25:05 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-12-16 22:46:38 +0000 |
commit | 09ce03d612e54231694eee2fb9e5c807b2bfc341 (patch) | |
tree | f90f634f25079749febf00618ac3160d204f2d7a /contrib/epee/include/file_io_utils.h | |
parent | Merge pull request #2881 (diff) | |
download | monero-09ce03d612e54231694eee2fb9e5c807b2bfc341.tar.xz |
move includes around to lessen overall load
Diffstat (limited to 'contrib/epee/include/file_io_utils.h')
-rw-r--r-- | contrib/epee/include/file_io_utils.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/epee/include/file_io_utils.h b/contrib/epee/include/file_io_utils.h index c387743a6..f037b4dd5 100644 --- a/contrib/epee/include/file_io_utils.h +++ b/contrib/epee/include/file_io_utils.h @@ -29,7 +29,8 @@ #define _FILE_IO_UTILS_H_ #include <iostream> -#include <boost/filesystem.hpp> +#include <boost/filesystem/path.hpp> +#include <boost/filesystem/operations.hpp> namespace epee { @@ -63,7 +64,7 @@ namespace file_io_utils } inline - bool get_file_time(const std::string& path_to_file, OUT time_t& ft) + bool get_file_time(const std::string& path_to_file, time_t& ft) { boost::system::error_code ec; ft = boost::filesystem::last_write_time(boost::filesystem::path(path_to_file), ec); |