diff options
author | Stefan Radomski <github@mintwerk.de> | 2017-05-10 23:20:08 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2017-05-10 23:20:08 (GMT) |
commit | 43370419fb7a9f14d85f96f39ffff86a337756d4 (patch) | |
tree | 0b375fa4c6e7acf59552e211b226c8021e973066 /src/uscxml | |
parent | 6974c6df8ea617f58e5c32b662c9b424c3e982f9 (diff) | |
parent | 315e6aeec9e505c96aebbd60264ec117e1db0b81 (diff) | |
download | uscxml-43370419fb7a9f14d85f96f39ffff86a337756d4.zip uscxml-43370419fb7a9f14d85f96f39ffff86a337756d4.tar.gz uscxml-43370419fb7a9f14d85f96f39ffff86a337756d4.tar.bz2 |
Merge branch 'master' of github.com:tklab-tud/uscxml
Diffstat (limited to 'src/uscxml')
-rw-r--r-- | src/uscxml/util/Convenience.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uscxml/util/Convenience.h b/src/uscxml/util/Convenience.h index 98c4220..35abf12 100644 --- a/src/uscxml/util/Convenience.h +++ b/src/uscxml/util/Convenience.h @@ -29,14 +29,14 @@ namespace uscxml { inline bool isnan(double x); // see http://stackoverflow.com/questions/228005/alternative-to-itoa-for-converting-integer-to-string-c -template <typename T> std::string USCXML_API toStr(T tmp) { +template <typename T> std::string toStr(T tmp) { std::ostringstream outSS; outSS.precision(std::numeric_limits<double>::digits10 + 1); outSS << tmp; return outSS.str(); } -template <typename T> T USCXML_API strTo(std::string tmp) { +template <typename T> T strTo(std::string tmp) { T output; std::istringstream in(tmp); in >> output; |