summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/serialization.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/common/serialization.h b/src/common/serialization.h
index 04bd89d..fec50c0 100644
--- a/src/common/serialization.h
+++ b/src/common/serialization.h
@@ -22,7 +22,6 @@
#pragma once
#include <stdint.h>
-#include <time.h>
#include <string>
#include <vector>
@@ -130,15 +129,6 @@ struct Serialization {
stream.write(sizeof(*value), value);
}
- static void Serialize(IStream &stream, const time_t value)
- {
- stream.write(sizeof(value), &value);
- }
- static void Serialize(IStream &stream, const time_t *const value)
- {
- stream.write(sizeof(*value), value);
- }
-
// bool
static void Serialize(IStream &stream, const bool value)
{
@@ -391,16 +381,6 @@ struct Deserialization {
stream.read(sizeof(*value), value);
}
- static void Deserialize(IStream &stream, time_t &value)
- {
- stream.read(sizeof(value), &value);
- }
- static void Deserialize(IStream &stream, time_t *&value)
- {
- value = new time_t;
- stream.read(sizeof(*value), value);
- }
-
// bool
static void Deserialize(IStream &stream, bool &value)
{