Minor: implement getPaymentOptions() for const. Add getPaymentOptions() for non-const
This commit is contained in:
parent
33731faba9
commit
e9b10166d2
@ -442,7 +442,10 @@ bool Configuration::ParseJson(Configuration* cfg, const char* json)
|
||||
|
||||
|
||||
|
||||
const ATBPaymentOption & Configuration::getPaymentOptions()
|
||||
{
|
||||
ATBPaymentOption const &Configuration::getPaymentOptions() const {
|
||||
return this->currentPaymentOptions;
|
||||
}
|
||||
|
||||
ATBPaymentOption &Configuration::getPaymentOptions() {
|
||||
return this->currentPaymentOptions;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user