clang-format

This commit is contained in:
Guillaume Meunier
2024-03-30 17:00:34 +01:00
parent bb660cfb3f
commit 9cceaac648
122 changed files with 2904 additions and 2783 deletions
+4 -3
View File
@@ -19,12 +19,12 @@
#pragma once
#include "clock_offset.h"
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <mutex>
#include <vector>
#include <algorithm>
#include "clock_offset.h"
template <typename Derived, typename Data, bool extrapolate = false, size_t MaxSamples = 10>
class history
@@ -97,7 +97,8 @@ public:
const auto & d1 = data.back();
return Derived::extrapolate(d0, d1, d0.at_timestamp_ns, d1.at_timestamp_ns, at_timestamp_ns);
}
else {
else
{
return data.back();
}
}