commit | 325456cb281ffec46286a0cbd398e0073f4a8274 | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Thu Oct 12 16:20:38 2017 -0500 |
committer | Matt Spinler <spinler@us.ibm.com> | Thu Oct 12 16:20:38 2017 -0500 |
tree | a5c6fc179deb46a4322be533bc3f43ff94f32af1 | |
parent | 9b65f76daeec9f9783b0a14f61f3889dba0c87e0 [diff] |
use stoll() to convert threshold string to number The stoi() and stol() functions will throw out of range exceptions when trying to convert valid threshold values, such as power numbers in microwatts. Change-Id: Ifd4c12fb37d6bd905c73633a468f35361b544fa7 Signed-off-by: Matt Spinler <spinler@us.ibm.com>