Skip to content

Commit

Permalink
Add missing import
Browse files Browse the repository at this point in the history
NP-205
  • Loading branch information
casperlamboo committed May 23, 2024
1 parent 1f66d0e commit 7991a2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/communication/CommandLine.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include <filesystem>
#include <optional>
#include <unordered_map>
#include <rapidjson/document.h> //Loading JSON documents to get settings from them.
#include <string> //To store the command line arguments.
#include <vector> //To store the command line arguments.
Expand Down Expand Up @@ -219,7 +220,7 @@ class CommandLine : public Communication
* \param element The path to the file to read the JSON values from.
* \return The resolved JSON values.
*/
static std::optional<std::unordered_map<std::string, std::unordered_map<std::string, std::string>>> readResolvedJsonValues(const std::filesystem::path& element);
static std::optional<std::unordered_map<std::string, std::unordered_map<std::string, std::string>>> readResolvedJsonValues(const std::filesystem::path& json_filename);

/*
* \brief Read the resolved JSON values from a document.
Expand Down

0 comments on commit 7991a2d

Please sign in to comment.