Minor: implement getPaymentOptions() for const. Add getPaymentOptions() for non-const

This commit is contained in:
Gerhard Hoffmann 2024-01-22 13:33:23 +01:00
parent 33731faba9
commit e9b10166d2

View File

@ -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;
}