summaryrefslogtreecommitdiff
path: root/src/helpers.h
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2012-09-08 16:57:37 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2012-09-08 16:57:37 +0200
commitcf06d9fa8db1adf903ad8b26c1127bb476b1e379 (patch)
tree76ed07a8bbc2ea3d33c426a943358b8ba2c65717 /src/helpers.h
parent8f693cd822365c3827be3ab40707a3111111bd0d (diff)
strbuffer: change typename C to CharT
Diffstat (limited to 'src/helpers.h')
-rw-r--r--src/helpers.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/helpers.h b/src/helpers.h
index 935cbd9a..86a39235 100644
--- a/src/helpers.h
+++ b/src/helpers.h
@@ -328,9 +328,10 @@ template <> struct StringConverter<NC::Scrollpad> {
std::basic_string<my_char_t> operator()(const char *s) { return TO_WSTRING(s); }
};
-template <typename C> void String2Buffer(const std::basic_string<C> &s, NC::basic_buffer<C> &buf)
+template <typename CharT>
+void String2Buffer(const std::basic_string<CharT> &s, NC::basic_buffer<CharT> &buf)
{
- StringConverter< NC::basic_buffer<C> > cnv;
+ StringConverter< NC::basic_buffer<CharT> > cnv;
for (auto it = s.begin(); it != s.end(); ++it)
{
if (*it == '$')