1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-04-18 21:32:42 -04:00

Small fixes.

This commit is contained in:
XMRig
2018-03-31 17:51:33 +07:00
parent 7f5d7cf7dd
commit af0a6fdf20
5 changed files with 14 additions and 3 deletions

View File

@@ -79,6 +79,12 @@ xmrig::Controller::~Controller()
}
bool xmrig::Controller::isReady() const
{
return d_ptr->config && d_ptr->network;
}
xmrig::Config *xmrig::Controller::config() const
{
assert(d_ptr->config != nullptr);