diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/media_device/media_device_link_test.cpp | 2 | ||||
-rw-r--r-- | test/pipeline/ipu3/ipu3_pipeline_test.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/media_device/media_device_link_test.cpp b/test/media_device/media_device_link_test.cpp index ac5b632f..58a55cdf 100644 --- a/test/media_device/media_device_link_test.cpp +++ b/test/media_device/media_device_link_test.cpp @@ -240,7 +240,7 @@ class MediaDeviceLinkTest : public Test private: unique_ptr<DeviceEnumerator> enumerator; - MediaDevice *dev_; + shared_ptr<MediaDevice> dev_; }; TEST_REGISTER(MediaDeviceLinkTest); diff --git a/test/pipeline/ipu3/ipu3_pipeline_test.cpp b/test/pipeline/ipu3/ipu3_pipeline_test.cpp index 482c1249..953f0233 100644 --- a/test/pipeline/ipu3/ipu3_pipeline_test.cpp +++ b/test/pipeline/ipu3/ipu3_pipeline_test.cpp @@ -65,7 +65,7 @@ int IPU3PipelineTest::init() return TestSkip; } - MediaDevice *cio2 = enumerator->search(cio2_dm); + std::shared_ptr<MediaDevice> cio2 = enumerator->search(cio2_dm); if (!cio2) { cerr << "Failed to find IPU3 CIO2: test skip" << endl; return TestSkip; |