update monado

This commit is contained in:
galister
2024-09-12 19:32:47 +02:00
committed by xytovl
parent a40e718d81
commit 44f48abf8a
27 changed files with 137 additions and 216 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ protected:
}
// Insert the new sample
auto it = std::lower_bound(data.begin(), data.end(), t, [](TimedData & sample, uint64_t t) { return sample.at_timestamp_ns < t; });
auto it = std::lower_bound(data.begin(), data.end(), t, [](TimedData & sample, int64_t t) { return sample.at_timestamp_ns < t; });
if (it == data.end())
data.emplace_back(sample, produced, t);
else if (it->at_timestamp_ns == t)