commit | 7e7824871cdb7d3d0d6b77e12d7d40bfa63154c6 | [log] [tgz] |
---|---|---|
author | Carl Shapiro <cshapiro@google.com> | Tue Jun 28 16:30:04 2011 -0700 |
committer | Carl Shapiro <cshapiro@google.com> | Tue Jun 28 16:30:04 2011 -0700 |
tree | f3ae618c4bc0a5a45012de5502d829fce855a5f9 | |
parent | 80d4dde9bf123e431e2ba21ff3e2ef794c8f6722 [diff] [blame] |
Manage the underlying RawDexFile of a DexFile with a smart pointer. Change-Id: I6586d34767584feaa746ffd819107ebbd036d8a3
diff --git a/src/dex_file.h b/src/dex_file.h index 51c0a5a..61add38 100644 --- a/src/dex_file.h +++ b/src/dex_file.h
@@ -69,7 +69,7 @@ size_t length_; // The underlying dex file. - RawDexFile* raw_; + scoped_ptr<RawDexFile> raw_; DISALLOW_COPY_AND_ASSIGN(DexFile); };