summaryrefslogtreecommitdiff
path: root/src/android/camera_hal_config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/camera_hal_config.cpp')
-rw-r--r--src/android/camera_hal_config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/camera_hal_config.cpp b/src/android/camera_hal_config.cpp
index 14549083..aa90dac7 100644
--- a/src/android/camera_hal_config.cpp
+++ b/src/android/camera_hal_config.cpp
@@ -341,7 +341,7 @@ int CameraHalConfig::Private::parseConfigFile(FILE *fh,
}
CameraHalConfig::CameraHalConfig()
- : Extensible(new Private()), exists_(false), valid_(false)
+ : Extensible(std::make_unique<Private>()), exists_(false), valid_(false)
{
parseConfigurationFile();
}