strbuffer: change basic_buffer to BasicBuffer

This commit is contained in:
Andrzej Rybczak
2012-09-12 20:22:11 +02:00
parent a8e3d0fd2d
commit 6da434b5b2
3 changed files with 32 additions and 32 deletions

View File

@@ -328,7 +328,7 @@ template <> struct StringConverter<NC::Scrollpad> {
};
template <typename Iterator>
void stringToBuffer(Iterator first, Iterator last, NC::basic_buffer<typename Iterator::value_type> &buf)
void stringToBuffer(Iterator first, Iterator last, NC::BasicBuffer<typename Iterator::value_type> &buf)
{
for (auto it = first; it != last; ++it)
{
@@ -403,7 +403,7 @@ void stringToBuffer(Iterator first, Iterator last, NC::basic_buffer<typename Ite
}
template <typename CharT>
void stringToBuffer(const std::basic_string<CharT> &s, NC::basic_buffer<CharT> &buf)
void stringToBuffer(const std::basic_string<CharT> &s, NC::BasicBuffer<CharT> &buf)
{
stringToBuffer(s.begin(), s.end(), buf);
}