git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Boost package name.
[stg.git]
/
include
/
stg
/
user_traff.h
diff --git
a/include/stg/user_traff.h
b/include/stg/user_traff.h
index b949da5fc2583534bc3d5fd89c8c0f16f2c3f95b..af5a0b64cc8ea8db940b73b5ff90120ab1a402a4 100644
(file)
--- a/
include/stg/user_traff.h
+++ b/
include/stg/user_traff.h
@@
-20,11
+20,11
@@
#pragma once
#pragma once
-#include "stg/optional.h"
#include "const.h"
#include <ostream>
#include <vector>
#include "const.h"
#include <ostream>
#include <vector>
+#include <optional>
#include <cstdint>
namespace STG
#include <cstdint>
namespace STG
@@
-74,7
+74,7
@@
std::ostream& operator<<(std::ostream& stream, const DirTraff& traff)
class DirTraffOpt
{
public:
class DirTraffOpt
{
public:
- using ValueType =
O
ptional<uint64_t>;
+ using ValueType =
std::o
ptional<uint64_t>;
using ContainerType = std::vector<ValueType>;
using IndexType = ContainerType::size_type;
using ContainerType = std::vector<ValueType>;
using IndexType = ContainerType::size_type;