Skip to content

Commit d053a93

Browse files
committed
tested composite_key assignability
1 parent ea2c947 commit d053a93

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/test_composite_key.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,8 +399,7 @@ void test_composite_key_template()
399399
BOOST_MULTI_INDEX_MEMBER(xyz,int,y)(),
400400
BOOST_MULTI_INDEX_MEMBER(xyz,int,z)()));
401401

402-
(void)ck3; /* prevent unused var */
403-
(void)ck5; /* prevent unused var */
402+
ck3=ck5; /* prevent unused var */
404403

405404
get<2>(ck4.key_extractors())=
406405
get<2>(ck2.key_extractors());

0 commit comments

Comments
 (0)