* @brief Destructor: closes socket. */
| 57 | * @brief Destructor: closes socket. |
| 58 | */ |
| 59 | socket::~socket(void) { |
| 60 | /* |
| 61 | * This is possible because socket::~socket(const socket&) is deleted. |
| 62 | */ |
| 63 | if (close_on_destructor) destroy(); |
| 64 | } |
| 65 | |
| 66 | /** |
| 67 | * @brief Destroys a socket. |
nothing calls this directly
no outgoing calls
no test coverage detected