mirror of
https://github.com/boostorg/tuple.git
synced 2025-07-30 04:37:15 +02:00
small change to avoid a warning for an unused variable
[SVN r11132]
This commit is contained in:
@ -65,9 +65,8 @@ void foo2() {
|
|||||||
dummy(tuple<const double&>()); // likewise
|
dummy(tuple<const double&>()); // likewise
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
double dd = 5;
|
|
||||||
|
|
||||||
#ifdef E5
|
#ifdef E5
|
||||||
|
double dd = 5;
|
||||||
dummy(tuple<double&>(dd+3.14)); // should fail, temporary to non-const reference
|
dummy(tuple<double&>(dd+3.14)); // should fail, temporary to non-const reference
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user