summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsangwan.kwon <sangwan.kwon@samsung.com>2016-05-25 17:38:00 +0900
committersangwan.kwon <sangwan.kwon@samsung.com>2016-05-25 17:38:00 +0900
commit30177b747ab42a7cedc5228803e057d05583b1a6 (patch)
tree055f760710f6a6b574e66f7cc4c9f66f5ec0bef0
parent0aca0ec736362b87025cf439bf526b7903cb227d (diff)
downloadcert-checker-accepted/tizen_ivi.tar.gz
cert-checker-accepted/tizen_ivi.tar.bz2
cert-checker-accepted/tizen_ivi.zip
[problem] * In 64bit arch, time_t and int64_t has problem when overloading [solve] * Delete time_t in serialization.h Change-Id: I20dc01022487dadd4119ee318ef2bf4de478a984
-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)
{