Switch to UniquePtr.
Only one use of scoped_ptr was incorrect (but then again, I spent an afternoon
with valgrind finding and fixing them just last week).
Change-Id: If5ec1c8aa0794a4f652bfd1c0fffccf95facdc40
diff --git a/src/dex_file.h b/src/dex_file.h
index bbc3f81..73e6954 100644
--- a/src/dex_file.h
+++ b/src/dex_file.h
@@ -7,10 +7,10 @@
#include <string>
#include <vector>
+#include "UniquePtr.h"
#include "globals.h"
#include "leb128.h"
#include "logging.h"
-#include "scoped_ptr.h"
#include "stringpiece.h"
#include "strutil.h"
#include "utils.h"
@@ -885,7 +885,7 @@
const std::string location_;
// Helper object to free the underlying allocation.
- scoped_ptr<Closer> closer_;
+ UniquePtr<Closer> closer_;
// Points to the header section.
const Header* header_;