summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libcamera/camera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/camera.cpp b/src/libcamera/camera.cpp
index 1acb399c..6409d10f 100644
--- a/src/libcamera/camera.cpp
+++ b/src/libcamera/camera.cpp
@@ -213,7 +213,7 @@ std::map<Stream *, StreamConfiguration>
Camera::streamConfiguration(std::vector<Stream *> &streams)
{
if (disconnected_ || !streams.size())
- std::map<unsigned int, StreamConfiguration> {};
+ return std::map<Stream *, StreamConfiguration>{};
return pipe_->streamConfiguration(this, streams);
}