On 19/01/17 18:28 +0000, Jonathan Wakely wrote:
@@ -397,7 +401,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
      while (__last - __first > 1)
        {
          --__last;
-         std::__pop_heap(__first, __last, __last, __comp);
+         std::__pop_heap(__first, __last, __last, _GLIBCXX_MOVE(__comp));

Oops, we can't move from the functor in a loop, it might be invalid
after the first move. Fix coming asap.

Reply via email to