Skip to content

Commit

Permalink
Replace command_types.h with mgjtp_command_to_json.h
Browse files Browse the repository at this point in the history
The include directives changed in several files: dulcificum/miracle_jtp/mgjtp_mappings_json_key_to_str.h, src/miracle_jtp/mgjtp_json_to_command.cpp, src/miracle_jtp/mgjtp_command_to_json.cpp, and include/dulcificum/miracle_jtp/mgjtp_json_to_command.h. All references to "dulcificum/command_types.h" have now been replaced with "dulcificum/miracle_jtp/mgjtp_command_to_json.h". This change was necessary as mgjtp_command_to_json.h provides more relevant functionality.

Contributes to CURA-10561
  • Loading branch information
jellespijker committed Oct 11, 2023
1 parent ab138dc commit 72d6a80
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions include/dulcificum/miracle_jtp/mgjtp_json_to_command.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#ifndef DULCIFICUM_MIRACLE_GRUE_JSONTOOLPATH_IN_H
#define DULCIFICUM_MIRACLE_GRUE_JSONTOOLPATH_IN_H


#include "dulcificum/command_types.h"
#include "dulcificum/miracle_jtp/mgjtp_mappings_json_key_to_str.h"

#include <nlohmann/json.hpp>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef DULCIFICUM_MIRACLE_GRUE_JSONTOOLPATH_JSON_KEYS_H
#define DULCIFICUM_MIRACLE_GRUE_JSONTOOLPATH_JSON_KEYS_H

#include "dulcificum/command_types.h"
#include "dulcificum/miracle_jtp/mgjtp_command_to_json.h"

#include <nlohmann/json.hpp>
#include <string_view>
Expand Down
1 change: 0 additions & 1 deletion src/miracle_jtp/mgjtp_command_to_json.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "dulcificum/miracle_jtp/mgjtp_command_to_json.h"

#include "dulcificum/miracle_jtp/mgjtp_mappings_json_key_to_str.h"

namespace dulcificum::miracle_jtp
Expand Down
1 change: 0 additions & 1 deletion src/miracle_jtp/mgjtp_json_to_command.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include "dulcificum/command_types.h"
#include "dulcificum/miracle_jtp/mgjtp_command_to_json.h"
#include "dulcificum/miracle_jtp/mgjtp_mappings_json_key_to_str.h"

Expand Down

0 comments on commit 72d6a80

Please sign in to comment.