libcamera: global_configuration: Reorder functions

Member functions should be implemented in the .cpp file in the same
order as in the class definition, within each access group. Move them to
the right location. While at it, move load() before loadFile() in the
class definition to match execution order, making the code easier to
read.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
Reviewed-by: Isaac Scott <isaac.scott@ideasonboard.com>
This commit is contained in:
Laurent Pinchart
2025-10-14 23:33:02 +03:00
parent 1c3e1baa6e
commit e2aea3f4e1
2 changed files with 73 additions and 73 deletions
@@ -52,8 +52,8 @@ public:
const std::string delimiter = ":") const;
private:
bool loadFile(const std::filesystem::path &fileName);
void load();
bool loadFile(const std::filesystem::path &fileName);
std::unique_ptr<ValueNode> yamlConfiguration_ =
std::make_unique<ValueNode>();