summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/device_enumerator_udev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/internal/device_enumerator_udev.h')
-rw-r--r--include/libcamera/internal/device_enumerator_udev.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libcamera/internal/device_enumerator_udev.h b/include/libcamera/internal/device_enumerator_udev.h
index 6f45be0c..58e64a29 100644
--- a/include/libcamera/internal/device_enumerator_udev.h
+++ b/include/libcamera/internal/device_enumerator_udev.h
@@ -39,8 +39,8 @@ private:
using DependencyMap = std::map<dev_t, std::list<MediaEntity *>>;
struct MediaDeviceDeps {
- MediaDeviceDeps(std::unique_ptr<MediaDevice> &&media,
- DependencyMap &&deps)
+ MediaDeviceDeps(std::unique_ptr<MediaDevice> media,
+ DependencyMap deps)
: media_(std::move(media)), deps_(std::move(deps))
{
}