Remove osrm namespace indication where possible, wrap out shared_memory_ownership
This commit is contained in:
committed by
Patrick Niklaus
parent
091a495632
commit
789311abd6
@@ -25,17 +25,13 @@
|
||||
#include <exception>
|
||||
#include <thread>
|
||||
|
||||
#include "storage/shared_memory_ownership.hpp"
|
||||
|
||||
namespace osrm
|
||||
{
|
||||
namespace storage
|
||||
{
|
||||
|
||||
enum class Ownership
|
||||
{
|
||||
Container,
|
||||
View
|
||||
};
|
||||
|
||||
struct OSRMLockFile
|
||||
{
|
||||
boost::filesystem::path operator()()
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
#ifndef SHARED_MEMORY_OWNERSHIP_HPP
|
||||
#define SHARED_MEMORY_OWNERSHIP_HPP
|
||||
|
||||
namespace osrm
|
||||
{
|
||||
namespace storage
|
||||
{
|
||||
|
||||
enum class Ownership
|
||||
{
|
||||
Container,
|
||||
View
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // SHARED_MEMORY_OWNERSHIP_HPP
|
||||
Reference in New Issue
Block a user