Commit e55ffe10 by Nathan Sidwell

fix to use rvalue where expected

From-SVN: r223571
parent c42e1b17
...@@ -10,7 +10,7 @@ void Foo (A &a) ...@@ -10,7 +10,7 @@ void Foo (A &a)
a.f(); a.f();
} }
void Bar (A &&a) void Bar ()
{ {
a.f (); A{}.f ();
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment