aboutsummaryrefslogtreecommitdiff
path: root/core/src/Utils/IO/VectorIntegration.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/Utils/IO/VectorIntegration.hpp')
-rw-r--r--core/src/Utils/IO/VectorIntegration.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/src/Utils/IO/VectorIntegration.hpp b/core/src/Utils/IO/VectorIntegration.hpp
index ff6e3a8..dedbf29 100644
--- a/core/src/Utils/IO/VectorIntegration.hpp
+++ b/core/src/Utils/IO/VectorIntegration.hpp
@@ -1,12 +1,14 @@
#pragma once
+#include "Utils/IO/DataStream.hpp"
+
#include <vector>
namespace DataStreamAdapters {
struct Vector
{
template <class TElement>
- void ReadFromDataStream(DataStream& s, std::vecetor<TElement>& vec)
+ void ReadFromDataStream(InputDataStream& s, std::vecetor<TElement>& vec)
{
s.Write((uint64_t)vec.size());
for (auto& element : vec) {
@@ -15,7 +17,7 @@ struct Vector
}
template <class TElement>
- void WriteToDataStream(DataStream& s, const std::vecetor<TElement>& vec)
+ void WriteToDataStream(OutputDataStream& s, const std::vecetor<TElement>& vec)
{
uint64_t size;
s >> size;