Revert "CmdTimesheet: Converted from strtol to std::stoi"
This reverts commit 02f1fa371c.
This commit is contained in:
@@ -81,7 +81,7 @@ int CmdTimesheet::execute (std::string& output)
|
||||
int quantity = 1;
|
||||
std::vector <std::string> words = context.cli2.getWords ();
|
||||
if (words.size () == 1)
|
||||
quantity = std::stoi (words[0]);
|
||||
quantity = strtol (words[0].c_str (), NULL, 10);;
|
||||
|
||||
std::stringstream out;
|
||||
for (int week = 0; week < quantity; ++week)
|
||||
|
||||
Reference in New Issue
Block a user