diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-10-19 14:43:31 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-10-19 14:43:31 +0100 |
| commit | 6543d9a51b31ce24726187d9d1b018f05f09ef40 (patch) | |
| tree | 82298a333e5499409745bf44b60f326d0d81889e /src/lib/log.h | |
| parent | 8dddd2d1fef983f60df1f90984dd47f9e95256d6 (diff) | |
More string -> boost::filesystem::path.
Diffstat (limited to 'src/lib/log.h')
| -rw-r--r-- | src/lib/log.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/log.h b/src/lib/log.h index bd0066a83..6a911b13f 100644 --- a/src/lib/log.h +++ b/src/lib/log.h @@ -26,6 +26,7 @@ #include <string> #include <boost/thread/mutex.hpp> +#include <boost/filesystem.hpp> /** @class Log * @brief A very simple logging class. @@ -62,12 +63,12 @@ private: class FileLog : public Log { public: - FileLog (std::string file); + FileLog (boost::filesystem::path file); private: void do_log (std::string m); /** filename to write to */ - std::string _file; + boost::filesystem::path _file; }; #endif |
