Added global uptime and extended connection information for API.

This commit is contained in:
XMRig 2019-05-13 00:11:57 +07:00
parent a000544fdc
commit ffb282a11a
6 changed files with 45 additions and 15 deletions

View file

@ -80,6 +80,7 @@ public:
inline String &operator=(char *str) { move(str); return *this; }
inline String &operator=(const char *str) { copy(str); return *this; }
inline String &operator=(const String &str) { copy(str); return *this; }
inline String &operator=(std::nullptr_t) { delete [] m_data; m_data = nullptr; m_size = 0; return *this; }
inline String &operator=(String &&other) { move(std::move(other)); return *this; }
rapidjson::Value toJSON() const;