Opened 7 years ago

Closed 6 years ago

#11950 closed Bugs (fixed)

Bug in boost variant test

Reported by: jochen@… Owned by: Antony Polukhin
Milestone: Boost 1.64.0 Component: variant
Version: Boost 1.61.0 Severity: Problem
Keywords: Cc:

Description

This looks wrong to me: https://github.com/boostorg/variant/blob/34e2a9dec868f61e7d3906ddabed4176e4a0e651/test/variant_get_test.cpp#L61-L69

The true-clause of the nested "if" will never be called.

Change History (2)

comment:1 by Antony Polukhin, 6 years ago

Milestone: To Be DeterminedBoost 1.64.0
Owner: changed from ebf to Antony Polukhin
Status: newassigned

Fixed in fc7a6652 and will be merged to master branch soon.

Thanks for the hint!

comment:2 by Antony Polukhin, 6 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.