Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ahoarau committed Sep 29, 2018
1 parent d30c6be commit 9fdf55f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions include/orca/optim/QPSolverImpl.h
Expand Up @@ -47,11 +47,12 @@ namespace optim
class QPSolverImpl
{
public:
virtual void resize(unsigned int nvar,unsigned int nconstr) = 0;
virtual ~QPSolverImpl() {};
virtual void resize(unsigned int nvar, unsigned int nconstr) = 0;
virtual void setPrintLevel(int level) = 0;
virtual void setDefaultOptions() = 0;
virtual common::ReturnCode solve(ProblemData& data ) = 0;
virtual void getPrimalSolution(Eigen::VectorXd& solution) = 0;
virtual common::ReturnCode solve(ProblemData &data) = 0;
virtual void getPrimalSolution(Eigen::VectorXd &solution) = 0;
};

} // namespace optim
Expand Down
2 changes: 1 addition & 1 deletion src/optim/QPSolverImpl_eigQuadProg.impl
Expand Up @@ -13,7 +13,7 @@ class QPSolverImpl_eigQuadProg : public QPSolverImpl
{

public:

virtual ~QPSolverImpl_eigQuadProg() {}
void resize(unsigned int nvar,unsigned int nconstr)
{

Expand Down
1 change: 1 addition & 0 deletions src/optim/QPSolverImpl_qpOASES.impl
Expand Up @@ -16,6 +16,7 @@ private:
qpOASES::Options options_;
bool qpoases_initialized_ = false;
public:
virtual ~QPSolverImpl_qpOASES() {}
void resize(unsigned int nvar,unsigned int nconstr)
{
if(!qpoases_)
Expand Down

0 comments on commit 9fdf55f

Please sign in to comment.