Common: Cleanup some mismatched indentation.

Also move initialization from constructors in a few places.
This commit is contained in:
Unknown W. Brackets committed 2021-04-30 22:59:41 -07:00
1 parent 9894c74bef
commit 7e21e9a721
11 files changed
+315 -319

No files matched your search

+2 -3
View File
@@ -36,13 +36,12 @@
namespace net {
Connection::Connection()
: port_(-1), resolved_(NULL), sock_(-1) {
Connection::Connection() {
}
Connection::~Connection() {
Disconnect();
if (resolved_ != NULL)
if (resolved_ != nullptr)
DNSResolveFree(resolved_);
}