Showing the changes to Source/Libraries/TimeSeriesPlatformLibrary/Transport/TSSCEncoder.cpp (1 of 16 files). Show all
Unified · Split
| @@ -223,7 +223,7 @@ bool TSSCEncoder::TryAddMeasurement(uint16_t id, int64_t timestamp, uint32_t qua · 222 unmodified lines | ||
| 223 | 223 | |
| 224 | 224 | TSSCPointMetadataPtr TSSCEncoder::NewTSSCPointMetadata() |
| 225 | 225 | { |
| 226 | − return NewSharedPtr<TSSCPointMetadata>([this](int32_t code, int32_t length) { return WriteBits(code, length); }); | |
| 226 | + return NewSharedPtr<TSSCPointMetadata>([&,this](int32_t code, int32_t length) { return WriteBits(code, length); }); | |
| 227 | 227 | } |
| 228 | 228 | |
| 229 | 229 | void TSSCEncoder::WritePointIdChange(uint16_t id) |