Skip to content

Commit f76863e

Browse files
committed
Fix broken struct name change propagation
1 parent 36024d8 commit f76863e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

components/core/src/clp_s/JsonParser.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class JsonParser {
6262
// Constructor
6363
explicit JsonParser(JsonParserOption const& option);
6464

65-
JsonParser(JsonToIRParserOption const& option);
65+
JsonParser(JsonToIrParserOption const& option);
6666

6767
// Destructor
6868
~JsonParser() = default;

components/core/src/clp_s/clp-s.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ auto unpack_and_serialize_msgpack_bytes(
7575
* @return Whether serialization was successful
7676
*/
7777
template <typename T>
78-
auto run_serializer(clp_s::JsonToIRParserOption const& option, std::string path);
78+
auto run_serializer(clp_s::JsonToIrParserOption const& option, std::string path);
7979

8080
/**
8181
* Iterates over the input JSON files specified by the command line arguments to generate and IR
@@ -203,7 +203,7 @@ auto unpack_and_serialize_msgpack_bytes(
203203
}
204204

205205
template <typename T>
206-
auto run_serializer(clp_s::JsonToIRParserOption const& option, std::string path) {
206+
auto run_serializer(clp_s::JsonToIrParserOption const& option, std::string path) {
207207
auto result{Serializer<T>::create()};
208208
if (result.has_error()) {
209209
SPDLOG_ERROR("Failed to create Serializer");
@@ -294,7 +294,7 @@ auto generate_ir(CommandLineArguments const& command_line_arguments) -> bool {
294294
SPDLOG_ERROR("Failed to create archives directory {} - {}", irs_dir.string(), e.what());
295295
return false;
296296
}
297-
clp_s::JsonToIRParserOption option{};
297+
clp_s::JsonToIrParserOption option{};
298298
option.file_paths = command_line_arguments.get_file_paths();
299299
option.irs_dir = irs_dir.string();
300300
option.max_document_size = command_line_arguments.get_max_document_size();

0 commit comments

Comments
 (0)