]> git.stg.codes - stg.git/blobdiff - include/stg/user_traff.h
Pretty-printing CTX diff.
[stg.git] / include / stg / user_traff.h
index b949da5fc2583534bc3d5fd89c8c0f16f2c3f95b..af5a0b64cc8ea8db940b73b5ff90120ab1a402a4 100644 (file)
 
 #pragma once
 
-#include "stg/optional.h"
 #include "const.h"
 
 #include <ostream>
 #include <vector>
+#include <optional>
 #include <cstdint>
 
 namespace STG
@@ -74,7 +74,7 @@ std::ostream& operator<<(std::ostream& stream, const DirTraff& traff)
 class DirTraffOpt
 {
     public:
-        using ValueType = Optional<uint64_t>;
+        using ValueType = std::optional<uint64_t>;
         using ContainerType = std::vector<ValueType>;
         using IndexType = ContainerType::size_type;