summaryrefslogtreecommitdiff
path: root/src/logTypes.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/logTypes.hpp')
-rw-r--r--src/logTypes.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/logTypes.hpp b/src/logTypes.hpp
index fb66867..7f0473e 100644
--- a/src/logTypes.hpp
+++ b/src/logTypes.hpp
@@ -37,7 +37,13 @@ namespace WebStat {
using EntityId = int32_t;
using EntityHash = std::array<uint8_t, MD5_DIGEST_LENGTH>;
- using Entity = std::tuple<EntityHash, std::optional<EntityId>, EntityType, std::string_view>;
+
+ struct Entity {
+ EntityHash hash;
+ std::optional<EntityId> id;
+ EntityType type;
+ std::string_view value;
+ };
}
namespace scn {