summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-23 19:28:41 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-23 19:28:41 +0000
commit18b1ec50803714aa836a32a42806b7a8c367d9fd (patch)
treec21c53040c335872315ffc503247be8b9096086a /include/inspircd.h
parente281922d55e302bd823be89895006239248505e3 (diff)
-pedantic tidyups, lets see if it finds anything worthy of a fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8313 e03df62e-2008-0410-955e-edbf42e46eb7
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;