mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Add no-op ConvToStr(const std::string&)
This commit is contained in:
parent
8f5a3bb7bc
commit
810ddfb91a
@ -74,6 +74,11 @@ inline std::string ConvToStr(char in)
|
||||
return std::string(1, in);
|
||||
}
|
||||
|
||||
inline const std::string& ConvToStr(const std::string& in)
|
||||
{
|
||||
return in;
|
||||
}
|
||||
|
||||
/** Template function to convert any input type to std::string
|
||||
*/
|
||||
template <class T> inline std::string ConvToStr(const T& in)
|
||||
|
Loading…
x
Reference in New Issue
Block a user