unittest: fix compiler warning.

pull/1318/head
Kim Kulling 2017-06-21 23:02:26 +02:00
parent 3ed08971c4
commit 5011e382c7
1 changed files with 1 additions and 1 deletions

View File

@ -109,8 +109,8 @@ TEST_F( utObjTools, countComponents_TwoLines_Success ) {
buffer.resize( data.size() ); buffer.resize( data.size() );
::memcpy( &buffer[ 0 ], &data[ 0 ], data.size() ); ::memcpy( &buffer[ 0 ], &data[ 0 ], data.size() );
test_parser.setBuffer( buffer ); test_parser.setBuffer( buffer );
static const size_t Size = 4096UL;
size_t numComps = test_parser.testGetNumComponentsInDataDefinition(); size_t numComps = test_parser.testGetNumComponentsInDataDefinition();
EXPECT_EQ( 3U, numComps ); EXPECT_EQ( 3U, numComps );
} }