summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/internal/yaml_parser.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/libcamera/internal/yaml_parser.h b/include/libcamera/internal/yaml_parser.h
index 3a4f3052..e002fcf5 100644
--- a/include/libcamera/internal/yaml_parser.h
+++ b/include/libcamera/internal/yaml_parser.h
@@ -28,15 +28,15 @@ public:
bool isValue() const
{
- return type_ == Value;
+ return type_ == Type::Value;
}
bool isList() const
{
- return type_ == List;
+ return type_ == Type::List;
}
bool isDictionary() const
{
- return type_ == Dictionary;
+ return type_ == Type::Dictionary;
}
#ifndef __DOXYGEN__
@@ -65,7 +65,7 @@ private:
friend class YamlParserContext;
- enum Type {
+ enum class Type {
Dictionary,
List,
Value,