summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2020-03-20 22:53:22 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2020-03-23 21:37:30 +0100
commit3004f1ed9a3979176ec3b055c627eba88c2004f6 (patch)
tree9be374d67bb7f9bae0e32f4325c96388d101e31f /include
parent627d135bf5108f514161e1d37acf6b97c4b3c4a3 (diff)
Implement UUID handling to avoid libuuid dependency
Diffstat (limited to 'include')
-rw-r--r--include/erebos/uuid.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/erebos/uuid.h b/include/erebos/uuid.h
index 31322ea..9b615f8 100644
--- a/include/erebos/uuid.h
+++ b/include/erebos/uuid.h
@@ -1,7 +1,6 @@
#pragma once
-#include <uuid/uuid.h>
-
+#include <array>
#include <string>
namespace erebos {
@@ -14,7 +13,7 @@ struct UUID
bool operator==(const UUID &) const;
bool operator!=(const UUID &) const;
- uuid_t uuid;
+ std::array<uint8_t, 16> uuid;
};
}