clover: Define non-templated copy constructor for clover::ref_ptr.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 27 Jun 2012 23:16:23 +0000 (01:16 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Sun, 1 Jul 2012 13:37:30 +0000 (15:37 +0200)
commitc6bb41c28b2da269d5b692d1d0f4acbf3cdd4b5c
tree5f933ebd55bdf0b7062ada8462f4b864667d3a76
parentdb2b6ca504e5046697e3d9262cfd401b8a4971fd
clover: Define non-templated copy constructor for clover::ref_ptr.

The templated copy constructor doesn't prevent the compiler from
emitting a default copy constructor, which leads to inconsistent
memory handling and was reported to cause segfaults when doing event
manipulation.

Reported-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/state_trackers/clover/core/base.hpp