Skip to content

Commit af546f2

Browse files
authored
Fix -Woverloaded-virtual= warnings (#39)
1 parent 6cc2df2 commit af546f2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Interfaces/BonOsiTMINLPInterface.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -1011,6 +1011,7 @@ void getBendersCut(OsiCuts &cs, bool global);
10111011
virtual CoinMessageHandler* clone() const{
10121012
return new OaMessageHandler(*this);}
10131013
/** print an OsiRowCut.*/
1014+
using CoinMessageHandler::print;
10141015
void print(OsiRowCut &row);
10151016
};
10161017
void setOaMessageHandler(const CoinMessageHandler &handler){

src/Interfaces/BonRegisteredOptions.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ class BONMINLIB_EXPORT RegisteredOptions: public Ipopt::RegisteredOptions{
6868
}
6969

7070
//DECLARE_STD_EXCEPTION(OPTION_NOT_REGISTERED);
71+
using Ipopt::RegisteredOptions::SetRegisteringCategory;
7172
/** Set registering category with extra information.*/
7273
void SetRegisteringCategory (const std::string &registering_category,
7374
const ExtraCategoriesInfo extra){

0 commit comments

Comments
 (0)