diff options
author | psychocrypt <psychocrypt@users.noreply.github.com> | 2017-09-29 22:06:09 +0200 |
---|---|---|
committer | psychocrypt <psychocrypt@users.noreply.github.com> | 2017-09-30 23:46:08 +0200 |
commit | 855af1cf65de1fd3795de3c9a859fd9242625a84 (patch) | |
tree | 51368c6f1d6cd401969f4beedcbcccc21d055153 /xmrstak/misc/environment.hpp | |
parent | 8babae3156430f5aa6b804f7c352ffb178097963 (diff) | |
download | xmr-stak-855af1cf65de1fd3795de3c9a859fd9242625a84.zip xmr-stak-855af1cf65de1fd3795de3c9a859fd9242625a84.tar.gz |
fix compile
Diffstat (limited to 'xmrstak/misc/environment.hpp')
-rw-r--r-- | xmrstak/misc/environment.hpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/xmrstak/misc/environment.hpp b/xmrstak/misc/environment.hpp index 15f8cce..af4c12a 100644 --- a/xmrstak/misc/environment.hpp +++ b/xmrstak/misc/environment.hpp @@ -7,22 +7,22 @@ class executor; namespace xmrstak { -class GlobalStates; +class globalStates; class Params; -struct Environment +struct environment { - static Environment& inst() + static environment& inst() { - static Environment env; + static environment env; return env; } - Environment& operator=(const Environment& env) + environment& operator=(const environment& env) { this->pPrinter = env.pPrinter; - this->pGlobalStates = env.pGlobalStates; + this->pglobalStates = env.pglobalStates; this->pJconfConfig = env.pJconfConfig; this->pExecutor = env.pExecutor; this->pParams = env.pParams; @@ -30,13 +30,13 @@ struct Environment } - Environment() : pPrinter(nullptr), pGlobalStates(nullptr) + environment() : pPrinter(nullptr), pglobalStates(nullptr) { } printer* pPrinter; - GlobalStates* pGlobalStates; + globalStates* pglobalStates; jconf* pJconfConfig; executor* pExecutor; Params* pParams; |