Remove boost::filesystem include from header

This commit is contained in:
Vinnie Falco
2013-05-20 09:20:28 -07:00
parent 51e3e10a94
commit 61e5addd62
2 changed files with 10 additions and 3 deletions

View File

@@ -5,6 +5,7 @@
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/filesystem.hpp>
#include "../websocketpp/src/logger/logger.hpp"
@@ -171,7 +172,7 @@ LogSeverity Log::stringToSeverity(const std::string& s)
return lsINVALID;
}
void Log::setLogFile(boost::filesystem::path path)
void Log::setLogFile(boost::filesystem::path const& path)
{
std::ofstream* newStream = new std::ofstream(path.c_str(), std::fstream::app);
if (!newStream->good())