fix PIByteArray load/store operators for containers

This commit is contained in:
2020-10-16 12:28:57 +03:00
parent 51775a5ee6
commit 8ef4c9ca23
5 changed files with 96 additions and 106 deletions

View File

@@ -140,8 +140,10 @@ namespace PIScreenTypes {
inline PIByteArray & operator <<(PIByteArray & s, const PIScreenTypes::Cell & v) {s << v.format.raw_format << v.symbol; return s;}
inline PIByteArray & operator >>(PIByteArray & s, PIScreenTypes::Cell & v) {s >> v.format.raw_format >> v.symbol; return s;}
inline PIByteArray & operator <<(PIByteArray & s, const PIScreenTypes::TileEvent & v) {s << v.type << v.data; return s;}
inline PIByteArray & operator >>(PIByteArray & s, PIScreenTypes::TileEvent & v) {s >> v.type >> v.data; return s;}
#endif // PISCREENTYPES_H