diff --git a/src/support/unicode.cpp b/src/support/unicode.cpp index 74c7b6fdc3..682ac3e966 100644 --- a/src/support/unicode.cpp +++ b/src/support/unicode.cpp @@ -67,8 +67,8 @@ struct IconvProcessor::Private { }; -IconvProcessor::IconvProcessor(char const * tocode, - char const * fromcode): tocode_(tocode), fromcode_(fromcode), +IconvProcessor::IconvProcessor(char const * tocode, char const * fromcode) + : tocode_(tocode), fromcode_(fromcode), pimpl_(new IconvProcessor::Private) { } diff --git a/src/support/unicode.h b/src/support/unicode.h index d26d606c85..e3804350b3 100644 --- a/src/support/unicode.h +++ b/src/support/unicode.h @@ -86,8 +86,8 @@ eightbit_to_ucs4(char const * s, size_t ls, std::string const & encoding); /// convert \p s from ucs4 to encoding \p encoding. /// \p encoding must be a valid iconv 8bit encoding -std::vector -ucs4_to_eightbit(char_type const * ucs4str, size_t ls, std::string const & encoding); +std::vector ucs4_to_eightbit(char_type const * ucs4str, + size_t ls, std::string const & encoding); /// convert ucs4 character \p c to encoding \p encoding. /// \p encoding must be a valid iconv 8bit encoding