Merge pull request #9048 from sfc-gh-xwang/fix/main/NumberDataPoint

fix uninitialised byte(s) field in NumberDataPoint
This commit is contained in:
Xiaoxi Wang 2022-12-14 13:28:57 -08:00 committed by GitHub
commit d0ca0a863b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ enum DataPointFlags { FLAG_NONE = 0, FLAG_NO_RECORDED_VALUE };
class NumberDataPoint {
public:
double startTime; // 9 bytes in msgpack
double startTime = -1; // 9 bytes in msgpack
double recordTime; // 9 bytes in msgpack
std::vector<Attribute> attributes; // Variable size: assume to be 23 bytes
std::variant<int64_t, double> val; // 9 bytes in msgpack