| Index: test/cctest/compiler/test-operator.cc
|
| diff --git a/test/cctest/compiler/test-operator.cc b/test/cctest/compiler/test-operator.cc
|
| index eecf46a054159162754a37d7a86e3043e47f5dad..90814ba99dd3e6baea278f365026eb2e96232557 100644
|
| --- a/test/cctest/compiler/test-operator.cc
|
| +++ b/test/cctest/compiler/test-operator.cc
|
| @@ -2,6 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include <memory>
|
| #include <sstream>
|
|
|
| #include "src/compiler/operator.h"
|
| @@ -67,11 +68,10 @@ TEST(TestOperator_Equals) {
|
| CHECK(!op2b.Equals(&op1b));
|
| }
|
|
|
| -
|
| -static v8::base::SmartArrayPointer<const char> OperatorToString(Operator* op) {
|
| +static std::unique_ptr<char[]> OperatorToString(Operator* op) {
|
| std::ostringstream os;
|
| os << *op;
|
| - return v8::base::SmartArrayPointer<const char>(StrDup(os.str().c_str()));
|
| + return std::unique_ptr<char[]>(StrDup(os.str().c_str()));
|
| }
|
|
|
|
|
|
|