chore: prevent duplicate definitions

This commit is contained in:
2026-03-30 15:59:33 +01:00
parent c8031fe6c7
commit 8888f7b97a
+5
View File
@@ -1,6 +1,8 @@
#include <string> #include <string>
#include <unordered_map> #include <unordered_map>
#ifndef TYPES
enum class CommandType { enum class CommandType {
ADD, ADD,
SUB, SUB,
@@ -48,3 +50,6 @@ typedef struct {
SegmentType segment; SegmentType segment;
int index; int index;
} Command; } Command;
#define TYPES
#endif