From 82bbbd94d67aa34db489622ea4020f588de9d53b Mon Sep 17 00:00:00 2001 From: alexzhornyak Date: Thu, 11 May 2017 01:10:36 +0300 Subject: No need to export header template functions --- src/uscxml/util/Convenience.h | 4 ++-- 1 file 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 std::string USCXML_API toStr(T tmp) { +template std::string toStr(T tmp) { std::ostringstream outSS; outSS.precision(std::numeric_limits::digits10 + 1); outSS << tmp; return outSS.str(); } -template T USCXML_API strTo(std::string tmp) { +template T strTo(std::string tmp) { T output; std::istringstream in(tmp); in >> output; -- cgit v0.12