Fix processor to build with clang

R=mark at http://breakpad.appspot.com/451002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1035 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
ted.mielczarek@gmail.com 2012-09-10 19:46:19 +00:00
parent 44c27420e2
commit 3e3324b06b

View File

@ -128,7 +128,7 @@ class linked_ptr {
// Release ownership of the pointed object and returns it.
// Sole ownership by this linked_ptr object is required.
T* release() {
bool last = link_.depart();
link_.depart();
T* v = value_;
value_ = NULL;
return v;