summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/internal/v4l2_subdevice.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/libcamera/internal/v4l2_subdevice.h b/include/libcamera/internal/v4l2_subdevice.h
index 6cd36730..2939dc24 100644
--- a/include/libcamera/internal/v4l2_subdevice.h
+++ b/include/libcamera/internal/v4l2_subdevice.h
@@ -95,11 +95,7 @@ public:
unsigned int stream;
};
- class Routing : public std::vector<struct v4l2_subdev_route>
- {
- public:
- std::string toString() const;
- };
+ using Routing = std::vector<struct v4l2_subdev_route>;
explicit V4L2Subdevice(const MediaEntity *entity);
~V4L2Subdevice();
@@ -178,5 +174,6 @@ static inline bool operator!=(const V4L2Subdevice::Stream &lhs,
}
std::ostream &operator<<(std::ostream &out, const V4L2Subdevice::Stream &stream);
+std::ostream &operator<<(std::ostream &out, const V4L2Subdevice::Routing &routing);
} /* namespace libcamera */