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 <unordered_map>
#ifndef TYPES
enum class CommandType {
ADD,
SUB,
@@ -48,3 +50,6 @@ typedef struct {
SegmentType segment;
int index;
} Command;
#define TYPES
#endif