osrm-backend/include/extractor/packed_osm_ids.hpp

23 lines
525 B
C++
Raw Normal View History

2017-04-11 18:27:43 -04:00
#ifndef OSRM_EXTRACTOR_PACKED_OSM_IDS_HPP
#define OSRM_EXTRACTOR_PACKED_OSM_IDS_HPP
#include "util/packed_vector.hpp"
#include "util/typedefs.hpp"
namespace osrm
{
namespace extractor
{
namespace detail
{
template <storage::Ownership Ownership>
using PackedOSMIDs = util::detail::PackedVector<OSMNodeID, 34, Ownership>;
2017-04-11 18:27:43 -04:00
}
using PackedOSMIDsView = detail::PackedOSMIDs<storage::Ownership::View>;
using PackedOSMIDs = detail::PackedOSMIDs<storage::Ownership::Container>;
} // namespace extractor
} // namespace osrm
2017-04-11 18:27:43 -04:00
#endif