summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/internal/yaml_parser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libcamera/internal/yaml_parser.h b/include/libcamera/internal/yaml_parser.h
index b4f852b1..be5f0914 100644
--- a/include/libcamera/internal/yaml_parser.h
+++ b/include/libcamera/internal/yaml_parser.h
@@ -7,7 +7,6 @@
#pragma once
-#include <cstdio>
#include <map>
#include <string>
#include <vector>
@@ -18,6 +17,7 @@
namespace libcamera {
+class File;
class YamlParserContext;
class YamlObject
@@ -82,7 +82,7 @@ private:
class YamlParser final
{
public:
- static std::unique_ptr<YamlObject> parse(std::FILE *fh);
+ static std::unique_ptr<YamlObject> parse(File &file);
};
} /* namespace libcamera */