Skip to content

Commit

Permalink
clang-tidy fixes for trajopt_sco
Browse files Browse the repository at this point in the history
  • Loading branch information
rjoomen committed Jul 12, 2024
1 parent 2cf36e7 commit d219bef
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 10 deletions.
2 changes: 0 additions & 2 deletions trajopt_sco/include/trajopt_sco/bpmpd_io.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
#pragma once
#include <trajopt_common/macros.h>
TRAJOPT_IGNORE_WARNINGS_PUSH
#include <string>
#include <vector>
#include <cassert>
#include <iostream>
#include <cstdlib>
#include <unistd.h>
TRAJOPT_IGNORE_WARNINGS_POP
Expand Down
2 changes: 1 addition & 1 deletion trajopt_sco/include/trajopt_sco/gurobi_interface.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class GurobiModel : public Model
std::mutex m_mutex;

GurobiModel();
~GurobiModel();
~GurobiModel() override;

// Must be threadsafe
Var addVar(const std::string& name) override;
Expand Down
1 change: 0 additions & 1 deletion trajopt_sco/include/trajopt_sco/solver_interface.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
TRAJOPT_IGNORE_WARNINGS_PUSH
#include <cassert>
#include <iosfwd>
#include <limits>
#include <string>
#include <vector>
#include <memory>
Expand Down
1 change: 0 additions & 1 deletion trajopt_sco/include/trajopt_sco/solver_utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
TRAJOPT_IGNORE_WARNINGS_PUSH
#include <Eigen/Core>
#include <Eigen/SparseCore>
#include <iostream>
TRAJOPT_IGNORE_WARNINGS_POP

#include <trajopt_sco/solver_interface.hpp>
Expand Down
5 changes: 0 additions & 5 deletions trajopt_sco/src/gurobi_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ TRAJOPT_IGNORE_WARNINGS_PUSH
extern "C" {
#include "gurobi_c.h"
}
#include <iostream>
#include <map>
#include <sstream>
#include <stdexcept>
#include <utility>
TRAJOPT_IGNORE_WARNINGS_POP

#include <trajopt_sco/gurobi_interface.hpp>
Expand Down

0 comments on commit d219bef

Please sign in to comment.