Skip to content

Commit

Permalink
Fix -Woverloaded-virtual= warnings (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller authored Feb 27, 2023
1 parent 6cc2df2 commit af546f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Interfaces/BonOsiTMINLPInterface.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1011,6 +1011,7 @@ void getBendersCut(OsiCuts &cs, bool global);
virtual CoinMessageHandler* clone() const{
return new OaMessageHandler(*this);}
/** print an OsiRowCut.*/
using CoinMessageHandler::print;
void print(OsiRowCut &row);
};
void setOaMessageHandler(const CoinMessageHandler &handler){
Expand Down
1 change: 1 addition & 0 deletions src/Interfaces/BonRegisteredOptions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ class BONMINLIB_EXPORT RegisteredOptions: public Ipopt::RegisteredOptions{
}

//DECLARE_STD_EXCEPTION(OPTION_NOT_REGISTERED);
using Ipopt::RegisteredOptions::SetRegisteringCategory;
/** Set registering category with extra information.*/
void SetRegisteringCategory (const std::string &registering_category,
const ExtraCategoriesInfo extra){
Expand Down

0 comments on commit af546f2

Please sign in to comment.