Skip to content

Commit

Permalink
Fixing llvm variable name conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
whaeck authored Jul 2, 2024
1 parent 22b2c0d commit 1df6eef
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/tools/disco/Record/test/Record.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@ SCENARIO( "Record" ) {
CHECK( 2e+7 == vector[1] );
CHECK( iter == end );

std::tuple< double, int, std::string > tuple;
std::tuple< double, int, std::string > tpl;
source = " 1.0000E-11 2abcd\n";
iter = source.begin();
end = source.end();
Record< Scientific< 11, 4 >,
Integer< 11 >,
Character< 4 > >::read( iter, end, std::get<0>(tuple), std::get<1>(tuple), std::get<2>(tuple) );
CHECK( 1e-11 == std::get<0>(tuple) );
CHECK( 2 == std::get<1>(tuple) );
CHECK( "abcd" == std::get<2>(tuple) );
Character< 4 > >::read( iter, end, std::get<0>(tpl), std::get<1>(tpl), std::get<2>(tpl) );
CHECK( 1e-11 == std::get<0>(tpl) );
CHECK( 2 == std::get<1>(tpl) );
CHECK( "abcd" == std::get<2>(tpl) );
CHECK( iter == end );
} // THEN
} // GIVEN
Expand Down

0 comments on commit 1df6eef

Please sign in to comment.