forked from boostorg/tuple
small change to avoid a warning for an unused variable
[SVN r11132]
This commit is contained in:
1 parent
5b40ff62c6
commit
66ae617224
1 file changed
+1
-2
@@ -65,9 +65,8 @@ void foo2() {
|
||||
dummy(tuple<const double&>()); // likewise
|
||||
#endif
|
||||
|
||||
double dd = 5;
|
||||
|
||||
#ifdef E5
|
||||
double dd = 5;
|
||||
dummy(tuple<double&>(dd+3.14)); // should fail, temporary to non-const reference
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user