diff --git a/client/src/host/properties.cc b/client/src/host/properties.cc index 0fa36ee..cd7cc77 100644 --- a/client/src/host/properties.cc +++ b/client/src/host/properties.cc @@ -40,7 +40,7 @@ /*---[ Implement ]----------------------------------------------------------------------------------*/ -TN3270::Property * TN3270::Host::operator[](const char *name) const { +TN3270::Property * TN3270::Host::getProperty(const char *name) const { if(!this->session) throw std::system_error(ENODATA, std::system_category()); diff --git a/client/src/include/lib3270/ipc.h b/client/src/include/lib3270/ipc.h index 8436094..fb005b4 100644 --- a/client/src/include/lib3270/ipc.h +++ b/client/src/include/lib3270/ipc.h @@ -635,7 +635,11 @@ // Get properties - Property * operator[](const char *name) const; + Property * getProperty(const char *name) const; + + inline Property * operator[](const char *name) const { + return getProperty(name); + } /// @brief Get lib3270 version. inline std::string getVersion() const { -- libgit2 0.21.2