| Index: base/scoped_vector.h
|
| diff --git a/base/scoped_vector.h b/base/scoped_vector.h
|
| index 0c7449d734bc47b57a2fe706650c19461ef07b0c..80a46caae3ddec8c43f3c8d18efa2bf872eec727 100644
|
| --- a/base/scoped_vector.h
|
| +++ b/base/scoped_vector.h
|
| @@ -39,10 +39,7 @@
|
| std::vector<T*>& get() { return v; }
|
| const std::vector<T*>& get() const { return v; }
|
| void swap(ScopedVector<T>& other) { v.swap(other.v); }
|
| - void release(std::vector<T*>* out) {
|
| - out->swap(v);
|
| - v.clear();
|
| - }
|
| + void release(std::vector<T*>* out) { out->swap(v); v.clear(); }
|
|
|
| void reset() { STLDeleteElements(&v); }
|
|
|
| @@ -52,4 +49,4 @@
|
| DISALLOW_COPY_AND_ASSIGN(ScopedVector);
|
| };
|
|
|
| -#endif // BASE_SCOPED_VECTOR_H_
|
| +#endif // BASE_SCOPED_VECTOR_H_
|
|
|