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 a2a034b624
commit bd4d418075

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;