Changed: Don't need to convert a std::string to a std::string

This commit is contained in:
kervala 2016-02-13 23:34:09 +01:00
parent 8f1359eb49
commit f62ee8756a

View file

@ -311,8 +311,7 @@ class CAHMilkoMenuDoResetInterface : public IActionHandler
virtual void execute (CCtrlBase * /* pCaller */, const string& Params) virtual void execute (CCtrlBase * /* pCaller */, const string& Params)
{ {
// get param // get param
string mode; string mode = getParam(Params, "mode");
fromString(getParam(Params, "mode"), mode);
// run procedure // run procedure
vector<string> v; vector<string> v;