summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-09-14 15:23:45 +0200
committerattilamolnar <attilamolnar@hush.com>2013-09-14 15:23:45 +0200
commitd743bdf338d63e032f3ecb8518e00ea4ff1345ed (patch)
treefc08327f264862daadb02d29a8cfb808aaf42962 /include/inspircd.h
parent718a87e7e4ca4541a3c808ccb633eb362c2ef5b3 (diff)
Fix ConvToStr(char)
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index d5e749193..e2eaf8292 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -170,7 +170,7 @@ inline std::string ConvToStr(const bool in)
*/
inline std::string ConvToStr(char in)
{
- return std::string(in,1);
+ return std::string(1, in);
}
/** Template function to convert any input type to std::string