···132132133133 // We precede *it and follow *(it - 1) (which we know exists because we already handled
134134 // the it = begin() case)
135135- auto predecessor = *(it - 1);
136136- auto successor = *it;
135135+ const auto &predecessor = *(it - 1);
136136+ const auto &successor = *it;
137137138138 // Do the thing.
139139 int64_t diff_before = static_cast<int64_t>(at_timestamp_ns) - predecessor.timestamp;
···187187 return false;
188188 };
189189190190- float dt = time_ns_to_s(timestamp - last_time_ns);
190190+ float dt = (float)time_ns_to_s(timestamp - last_time_ns);
191191192192 // Used to find out what values are valid in both the old relation and the new relation
193193 enum xrt_space_relation_flags tmp_flags =
···245245m_relation_history_clear(struct m_relation_history *rh)
246246{
247247 std::unique_lock<os::Mutex> lock(rh->mutex);
248248- rh->impl = {};
248248+ rh->impl.clear();
249249}
250250251251void