File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 22
33ArrayBufferUniquePtr NodeTestFixture::allocator{nullptr , nullptr };
44uv_loop_t NodeTestFixture::current_loop;
5- std::unique_ptr<node::NodePlatform> NodeTestFixture::platform;
6- std::unique_ptr<v8::TracingController> NodeTestFixture::tracing_controller;
5+ NodePlatformUniquePtr NodeTestFixture::platform;
6+ TracingControllerUniquePtr NodeTestFixture::tracing_controller;
Original file line number Diff line number Diff line change @@ -55,12 +55,14 @@ struct Argv {
5555
5656using ArrayBufferUniquePtr = std::unique_ptr<node::ArrayBufferAllocator,
5757 decltype (&node::FreeArrayBufferAllocator)>;
58+ using TracingControllerUniquePtr = std::unique_ptr<v8::TracingController>;
59+ using NodePlatformUniquePtr = std::unique_ptr<node::NodePlatform>;
5860
5961class NodeTestFixture : public ::testing::Test {
6062 protected:
6163 static ArrayBufferUniquePtr allocator;
62- static std::unique_ptr<v8::TracingController> tracing_controller;
63- static std::unique_ptr<node::NodePlatform> platform;
64+ static TracingControllerUniquePtr tracing_controller;
65+ static NodePlatformUniquePtr platform;
6466 static uv_loop_t current_loop;
6567 v8::Isolate* isolate_;
6668
You can’t perform that action at this time.
0 commit comments