make communicator protected and use accessor instead. simplify
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user