summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/pixelformats.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libcamera/pixelformats.h b/include/libcamera/pixelformats.h
index eb40e55a..9ce6f7f0 100644
--- a/include/libcamera/pixelformats.h
+++ b/include/libcamera/pixelformats.h
@@ -19,7 +19,7 @@ class PixelFormat
{
public:
PixelFormat();
- PixelFormat(uint32_t fourcc, const std::set<uint64_t> &modifiers = {});
+ explicit PixelFormat(uint32_t fourcc, const std::set<uint64_t> &modifiers = {});
bool operator==(const PixelFormat &other) const;
bool operator!=(const PixelFormat &other) const { return !(*this == other); }