summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index eef05116b..67408ad6e 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -77,7 +77,7 @@ template<typename T> inline std::string ConvNumeric(const T &in)
++out;
quotient /= 10;
}
- if ( in < 0)
+ if (in < 0)
*out++ = '-';
*out = 0;
std::reverse(res,out);
@@ -100,13 +100,6 @@ inline std::string ConvToStr(const long in)
/** Template function to convert any input type to std::string
*/
-inline std::string ConvToStr(const unsigned long in)
-{
- return ConvNumeric(in);
-}
-
-/** Template function to convert any input type to std::string
- */
inline std::string ConvToStr(const char* in)
{
return in;