fix windows build
This commit is contained in:
parent
763ad0d047
commit
3837f9d015
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user