diff --git a/include/crow/utility.h b/include/crow/utility.h index 448ba121a..9a4a69bf0 100644 --- a/include/crow/utility.h +++ b/include/crow/utility.h @@ -805,7 +805,7 @@ namespace crow } template - T lexical_cast(const U& v) + inline static T lexical_cast(const U& v) { std::stringstream stream; T res; @@ -817,7 +817,7 @@ namespace crow } template - T lexical_cast(const char* v, size_t count) + inline static T lexical_cast(const char* v, size_t count) { std::stringstream stream; T res; @@ -828,7 +828,7 @@ namespace crow return res; } - std::string trim(const std::string& v) + inline static std::string trim(const std::string& v) { if (v.empty()) return "";