Switch to side-by-side view
--- a/src/utils/cancelcheck.h +++ b/src/utils/cancelcheck.h @@ -39,10 +39,7 @@ class CancelCheck { public: - static CancelCheck& instance() { - static CancelCheck ck; - return ck; - } + static CancelCheck& instance(); void setCancel(bool on = true) { cancelRequested = on; }