diff options
author | sangwan.kwon <sangwan.kwon@samsung.com> | 2016-05-25 17:38:00 +0900 |
---|---|---|
committer | sangwan.kwon <sangwan.kwon@samsung.com> | 2016-05-25 17:38:00 +0900 |
commit | 30177b747ab42a7cedc5228803e057d05583b1a6 (patch) | |
tree | 055f760710f6a6b574e66f7cc4c9f66f5ec0bef0 | |
parent | 0aca0ec736362b87025cf439bf526b7903cb227d (diff) | |
download | cert-checker-accepted/tizen/ivi/20160602.021115.tar.gz cert-checker-accepted/tizen/ivi/20160602.021115.tar.bz2 cert-checker-accepted/tizen/ivi/20160602.021115.zip |
Fix build error at 64bit archsubmit/tizen/20160525.085258accepted/tizen/mobile/20160602.021048accepted/tizen/ivi/20160602.021115accepted/tizen/common/20160525.160330accepted/tizen_iviaccepted/tizen_common
[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.h | 20 |
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) { |