Skip to content

Commit

Permalink
add <utility>
Browse files Browse the repository at this point in the history
  • Loading branch information
DeltaDizzy committed Jan 31, 2025
1 parent ba705e3 commit 73edf65
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions sysid/src/main/native/include/sysid/analysis/FilteringUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <string>
#include <string_view>
#include <tuple>
#include <utility>
#include <vector>

#include <fmt/format.h>
Expand Down Expand Up @@ -75,14 +76,12 @@ class MissingTestsError : public std::exception {
public:
explicit MissingTestsError(std::vector<std::string> MissingTests)
: missingTests(std::move(MissingTests)) {
errorString = fmt::format(
errorString = fmt::format(
"The following tests were not detected: {}. Make sure to perform all "
"four tests as described in the SysId documentation.",
fmt::join(missingTests, ", "));
}
const char* what() const noexcept override {
return errorString.c_str();
}
const char* what() const noexcept override { return errorString.c_str(); }

private:
std::vector<std::string> missingTests;
Expand Down

0 comments on commit 73edf65

Please sign in to comment.