DOM: Converted from strtol to std::stoi

This commit is contained in:
Paul Beckingham 2015-11-01 22:55:14 -05:00
parent 7158942d03
commit 7c5055de7a

View file

@ -337,7 +337,7 @@ bool DOM::get (const std::string& name, const Task& task, Variant& value)
std::map <std::string, std::string> annos; std::map <std::string, std::string> annos;
ref.getAnnotations (annos); ref.getAnnotations (annos);
int a = strtol (elements[1].c_str (), NULL, 10); int a = std::stoi (elements[1]);
int count = 0; int count = 0;
// Count off the 'a'th annotation. // Count off the 'a'th annotation.