summaryrefslogtreecommitdiff
path: root/src/lib/log.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-10-19 14:43:31 +0100
committerCarl Hetherington <cth@carlh.net>2013-10-19 14:43:31 +0100
commit6543d9a51b31ce24726187d9d1b018f05f09ef40 (patch)
tree82298a333e5499409745bf44b60f326d0d81889e /src/lib/log.h
parent8dddd2d1fef983f60df1f90984dd47f9e95256d6 (diff)
More string -> boost::filesystem::path.
Diffstat (limited to 'src/lib/log.h')
-rw-r--r--src/lib/log.h5
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