Skip to content
Snippets Groups Projects
Commit db7a6e8d authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Fixing Multimap unit test.

parent f93155b9
No related branches found
No related tags found
1 merge request!29Revision
......@@ -42,7 +42,7 @@ TEST( MultimapTest, TestSettingSizes )
for( IndexType i = 0; i < inputs; i++ ) {
auto values = map.getValues( i );
const auto constValues = ( (const MultimapType) map ).getValues( i );
const auto constValues = ( (const MultimapType&) map ).getValues( i );
// uninitialized should be equal to the value from the allocation vector
ASSERT_EQ( values.getSize(), allocationRanges[ i ] );
......@@ -81,7 +81,7 @@ TEST( MultimapTest, TestSettingValues )
for( IndexType i = 0; i < inputs; i++ ) {
auto values = map.getValues( i );
const auto constValues = ( (const MultimapType) map ).getValues( i );
const auto constValues = ( (const MultimapType&) map ).getValues( i );
values.setSize( allocatedValues );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment