From 1df6eef7473fdb2f6b53b7429594eb4f29117c8b Mon Sep 17 00:00:00 2001 From: Wim Haeck Date: Tue, 2 Jul 2024 10:10:39 -0600 Subject: [PATCH] Fixing llvm variable name conflict --- src/tools/disco/Record/test/Record.test.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/tools/disco/Record/test/Record.test.cpp b/src/tools/disco/Record/test/Record.test.cpp index ccadff0..6f88c27 100644 --- a/src/tools/disco/Record/test/Record.test.cpp +++ b/src/tools/disco/Record/test/Record.test.cpp @@ -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