diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-10-27 09:35:08 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-10-27 09:36:38 +0000 |
| commit | e70d2e5be8005d1f8825cac1d0dba11cd3533c78 (patch) | |
| tree | b8d5e7386d1e64d3acaeb4008e09a9759f11ad70 /src/common/http_connection.h | |
| parent | 9292c1e7cddbc65789d1a78a7db99111ce1980f2 (diff) | |
| download | monzero-core-e70d2e5be8005d1f8825cac1d0dba11cd3533c78.tar.gz monzero-core-e70d2e5be8005d1f8825cac1d0dba11cd3533c78.tar.xz monzero-core-e70d2e5be8005d1f8825cac1d0dba11cd3533c78.zip | |
common: const and init list pedantry
Diffstat (limited to 'src/common/http_connection.h')
| -rw-r--r-- | src/common/http_connection.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/http_connection.h b/src/common/http_connection.h index c192e79b6..06024b02a 100644 --- a/src/common/http_connection.h +++ b/src/common/http_connection.h @@ -46,6 +46,7 @@ public: , uint16_t port ) : mp_http_client(p_http_client) + , m_ok(false) { // TODO fix http client so that it accepts properly typed arguments std::string ip_str = epee::string_tools::get_ip_string_from_int32(ip); @@ -61,7 +62,7 @@ public: } } - bool is_open() + bool is_open() const { return m_ok; } |
