diff --git a/app/src/DriverUtils.cpp b/app/src/DriverUtils.cpp index b4c5e56..7071037 100644 --- a/app/src/DriverUtils.cpp +++ b/app/src/DriverUtils.cpp @@ -15,6 +15,7 @@ #include // for std::transform #include // for std::tolower +#include // for std::size_t #include // for localtime_{s,r}, std::{time, time_t, tm, strftime} #include // for std::setfill, std::setw #include // for std::cerr, std::endl @@ -97,7 +98,7 @@ DrvrReturnCode ParseDouble(const std::string &str, double &value) { ******************************************************************************/ DrvrReturnCode ParseInteger(const std::string &str, int &value) { try { - size_t pos; + std::size_t pos; value = std::stoi(str, &pos, 10); // Verify the entire string was parsed