Revert "CmdTimesheet: Converted from strtol to std::stoi"

This reverts commit 02f1fa371c.
This commit is contained in:
Paul Beckingham 2015-11-02 18:38:31 -05:00
parent d4f6f00b29
commit de43e34c5e

View file

@ -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)