2
0
mirror of https://github.com/boostorg/compute.git synced 2026-01-31 08:02:16 +00:00
Files
compute/include
Kyle Lutz 00fcb737cc Fix bug in move-constuctor for vector<T>
This fixes a bug in the move-constuctor for the vector<T>
class.

Previously, the moved-from object was also deallocating the
memory buffer leading to an error when the moved-to object
attempted to use it. Now, the constructor checks if the buffer
is non-empty before deallocating it.
2013-03-30 19:55:51 -04:00
..