mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
CBonusSystemNode: get rid of non-const getBonusList
This commit is contained in:
parent
8792c23372
commit
8fb5dacba2
@ -995,11 +995,6 @@ CBonusSystemNode::ENodeTypes CBonusSystemNode::getNodeType() const
|
||||
return nodeType;
|
||||
}
|
||||
|
||||
BonusList& CBonusSystemNode::getBonusList()
|
||||
{
|
||||
return bonuses;
|
||||
}
|
||||
|
||||
const BonusList& CBonusSystemNode::getBonusList() const
|
||||
{
|
||||
return bonuses;
|
||||
|
@ -694,7 +694,6 @@ public:
|
||||
void exportBonus(Bonus * b);
|
||||
void exportBonuses();
|
||||
|
||||
BonusList &getBonusList();
|
||||
const BonusList &getBonusList() const;
|
||||
BonusList &getExportedBonusList();
|
||||
CBonusSystemNode::ENodeTypes getNodeType() const;
|
||||
|
Loading…
Reference in New Issue
Block a user