A hack fix is to make it move(T const&) and insert a const_cast. This is ugly because it shouldn't move a const T, but since this is a fake move() anyway, it probably doesn't matter.
-- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/886543 Title: Fake std::move() doesn't always work under g++ 4.6.x Status in Zorba - The XQuery Processor: New Bug description: Under g++ 4.6.x, the fake std::move() doesn't work when converting a T& to an rv<T>& -- though it's not clear to me why not. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/886543/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : email@example.com Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp