Showing the changes to Source/Libraries/TimeSeriesPlatformLibrary/Samples/SubscriberHandler.cpp (1 of 4 files). Show all
Unified · Split
| @@ -112,7 +112,7 @@ void SubscriberHandler::ReceivedNewMeasurements(const vector<MeasurementPtr>& me · 111 unmodified lines | ||
| 112 | 112 | int16_t milliseconds; |
| 113 | 113 | |
| 114 | 114 | // Get adjusted value |
| 115 | − float64_t value = measurement->AdjustedValue(); | |
| 115 | + const float64_t value = measurement->AdjustedValue(); | |
| 116 | 116 | |
| 117 | 117 | // Get time converted to UNIX second of century plus milliseconds |
| 118 | 118 | measurement->GetUnixTime(soc, milliseconds); |
| @@ -125,7 +125,7 @@ void SubscriberHandler::ReceivedNewMeasurements(const vector<MeasurementPtr>& me · 6 unmodified lines | ||
| 125 | 125 | |
| 126 | 126 | // Find associated configuration for measurement |
| 127 | 127 | if (TryFindTargetConfigurationFrame(measurement->SignalID, configurationFrame)) |
| 128 | − { | |
| 128 | + { | |
| 129 | 129 | // Lookup measurement metadata - it's faster to find metadata from within configuration frame |
| 130 | 130 | if (TryGetMeasurementMetdataFromConfigurationFrame(measurement->SignalID, configurationFrame, measurementMetadata)) |
| 131 | 131 | { |