| 11 | } |
| 12 | |
| 13 | CommandError::CommandError(cmd_error* errorPointer, bool persistent) : errorPointer(errorPointer), persistent(persistent) { |
| 14 | if (!persistent) this->errorPointer = cmd_error_copy(errorPointer); |
| 15 | } |
| 16 | |
| 17 | CommandError::CommandError(const CommandError& e) { |
| 18 | persistent = e.persistent; |
nothing calls this directly
no test coverage detected