From 1ef5152af22b84455fdcf2f6dc3c9cb203b3d65c Mon Sep 17 00:00:00 2001 From: andrey Date: Wed, 21 Oct 2020 11:00:38 +0300 Subject: [PATCH] PIByteArray operator --- libs/core/cdutils_protocol.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/libs/core/cdutils_protocol.h b/libs/core/cdutils_protocol.h index b6385b2..a0e8e7e 100644 --- a/libs/core/cdutils_protocol.h +++ b/libs/core/cdutils_protocol.h @@ -62,9 +62,6 @@ namespace CDUtils { # pragma pack(pop) -inline PIByteArray & operator <<(PIByteArray & s, const PacketHeader & v) {s << v.type << v.session_id; return s;} -inline PIByteArray & operator >>(PIByteArray & s, PacketHeader & v) {s >> v.type >> v.session_id; return s;} - inline PIByteArray & operator <<(PIByteArray & s, const PacketKDirectChange & v) {s << v.path << v.value; return s;} inline PIByteArray & operator >>(PIByteArray & s, PacketKDirectChange & v) {s >> v.path >> v.value; return s;}