fix windows build

This commit is contained in:
Michael Krasnyk 2017-01-13 08:12:30 +01:00 committed by Patrick Niklaus
parent 763ad0d047
commit 3837f9d015

View File

@ -66,7 +66,7 @@ int Storage::Run(int max_wait)
boost::filesystem::ofstream ofs(lock_path);
}
boost::interprocess::file_lock file_lock(lock_path.c_str());
boost::interprocess::file_lock file_lock(lock_path.string().c_str());
boost::interprocess::scoped_lock<boost::interprocess::file_lock> datastore_lock(
file_lock, boost::interprocess::defer_lock);