diff options
Diffstat (limited to 'extensions/source/scanner/scanunx.cxx')
-rw-r--r-- | extensions/source/scanner/scanunx.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/scanner/scanunx.cxx b/extensions/source/scanner/scanunx.cxx index 83df6c32d5d2..bd261d694c85 100644 --- a/extensions/source/scanner/scanunx.cxx +++ b/extensions/source/scanner/scanunx.cxx @@ -217,7 +217,7 @@ Sequence< ScannerContext > ScannerManager::getAvailableScanners() if( rSanes.empty() ) { - std::shared_ptr<SaneHolder> pSaneHolder(new SaneHolder); + auto pSaneHolder = std::make_shared<SaneHolder>(); if( Sane::IsSane() ) rSanes.push_back( pSaneHolder ); } |