Template vector

This commit is contained in:
Lauren Budorick
2016-05-27 13:30:30 -04:00
committed by Daniel J. Hofmann
parent ae3ccb009e
commit 058b8c3b31
5 changed files with 15 additions and 14 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ using namespace osrm::util;
// Verify that the packed vector behaves as expected
BOOST_AUTO_TEST_CASE(insert_and_retrieve_packed_test)
{
PackedVector<false> packed_ids;
PackedVector<OSMNodeID, false> packed_ids;
std::vector<OSMNodeID> original_ids;
const constexpr std::size_t num_test_cases = 399;
@@ -33,7 +33,7 @@ BOOST_AUTO_TEST_CASE(insert_and_retrieve_packed_test)
BOOST_AUTO_TEST_CASE(packed_vector_capacity_test)
{
PackedVector<false> packed_vec;
PackedVector<OSMNodeID, false> packed_vec;
const std::size_t original_size = packed_vec.capacity();
std::vector<OSMNodeID> dummy_vec;