Index: courgette/encoded_program.h |
diff --git a/courgette/encoded_program.h b/courgette/encoded_program.h |
index 6ea3e22c60d3a5393949ae7e17008783d23ab099..d0ce945f34f9f0db01248516bce99c07b6701d2f 100644 |
--- a/courgette/encoded_program.h |
+++ b/courgette/encoded_program.h |
@@ -8,10 +8,10 @@ |
#include <stddef.h> |
#include <stdint.h> |
+#include <memory> |
#include <vector> |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "courgette/disassembler.h" |
#include "courgette/label_manager.h" |
#include "courgette/memory_allocator.h" |
@@ -144,7 +144,7 @@ class EncodedProgram { |
// Deserializes program from a stream set to |*output|. Returns C_OK if |
// successful, otherwise assigns |*output| to null and returns an error status. |
Status ReadEncodedProgram(SourceStreamSet* source, |
- scoped_ptr<EncodedProgram>* output); |
+ std::unique_ptr<EncodedProgram>* output); |
} // namespace courgette |