mirror of
https://github.com/ETLCPP/etl.git
synced 2026-04-30 19:09:10 +08:00
Fix 'unused variable' error in index_sequence tests
This commit is contained in:
parent
8f02514390
commit
15ed36c821
@ -1002,7 +1002,7 @@ namespace
|
|||||||
//*********************************
|
//*********************************
|
||||||
TEST(test_index_sequence_at_matches_expected)
|
TEST(test_index_sequence_at_matches_expected)
|
||||||
{
|
{
|
||||||
using seq0 = etl::index_sequence<>;
|
// using seq0 = etl::index_sequence<>; // This should fail to compile as seq0 is empty
|
||||||
using seq1 = etl::index_sequence<1U, 2U, 3U>;
|
using seq1 = etl::index_sequence<1U, 2U, 3U>;
|
||||||
//using result0 = etl::index_sequence_at<seq0, 0>; // This should fail to compile as seq0 is empty
|
//using result0 = etl::index_sequence_at<seq0, 0>; // This should fail to compile as seq0 is empty
|
||||||
//auto ignore0 = result0; // Uses result0
|
//auto ignore0 = result0; // Uses result0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user