make communicator protected and use accessor instead. simplify

This commit is contained in:
Axel Kohlmeyer
2023-04-15 21:54:13 -04:00
parent baeed85468
commit 8086228976
5 changed files with 17 additions and 18 deletions

View File

@ -64,7 +64,7 @@ class Error : protected Pointers {
std::string get_last_error() const;
ErrorType get_last_error_type() const;
void set_last_error(const std::string &msg, ErrorType type = ERROR_NORMAL);
void set_last_error(const char *msg, ErrorType type = ERROR_NORMAL);
private:
std::string last_error_message;