summaryrefslogtreecommitdiffstats
path: root/xmrstak/cli
diff options
context:
space:
mode:
authorpsychocrypt <psychocrypt@users.noreply.github.com>2017-09-29 22:06:09 +0200
committerpsychocrypt <psychocrypt@users.noreply.github.com>2017-09-30 23:46:08 +0200
commit855af1cf65de1fd3795de3c9a859fd9242625a84 (patch)
tree51368c6f1d6cd401969f4beedcbcccc21d055153 /xmrstak/cli
parent8babae3156430f5aa6b804f7c352ffb178097963 (diff)
downloadxmr-stak-855af1cf65de1fd3795de3c9a859fd9242625a84.zip
xmr-stak-855af1cf65de1fd3795de3c9a859fd9242625a84.tar.gz
fix compile
Diffstat (limited to 'xmrstak/cli')
-rw-r--r--xmrstak/cli/cli-miner.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmrstak/cli/cli-miner.cpp b/xmrstak/cli/cli-miner.cpp
index 2941792..085bb80 100644
--- a/xmrstak/cli/cli-miner.cpp
+++ b/xmrstak/cli/cli-miner.cpp
@@ -171,13 +171,13 @@ int main(int argc, char *argv[])
}
// check if we need a guided start
- if(!ConfigEditor::file_exist(Params::inst().configFile))
+ if(!configEditor::file_exist(Params::inst().configFile))
{
// load the template of the backend config into a char variable
const char *tpl =
#include "../config.tpl"
;
- ConfigEditor configTpl{};
+ configEditor configTpl{};
configTpl.set(std::string(tpl));
auto& pool = Params::inst().poolURL;
if(pool.empty())
@@ -290,7 +290,7 @@ int main(int argc, char *argv[])
void do_benchmark()
{
using namespace std::chrono;
- std::vector<xmrstak::IBackend*>* pvThreads;
+ std::vector<xmrstak::iBackend*>* pvThreads;
printer::inst()->print_msg(L0, "Running a 60 second benchmark...");
@@ -303,7 +303,7 @@ void do_benchmark()
std::this_thread::sleep_for(std::chrono::seconds(60));
oWork = xmrstak::miner_work();
- xmrstak::GlobalStates::inst().switch_work(oWork);
+ xmrstak::globalStates::inst().switch_work(oWork);
double fTotalHps = 0.0;
for (uint32_t i = 0; i < pvThreads->size(); i++)
OpenPOWER on IntegriCloud