]> git.lyx.org Git - features.git/blobdiff - src/support/qstring_helpers.h
Remove warnings reported with gcc 4.3:
[features.git] / src / support / qstring_helpers.h
index 86b2e037fe33040dbe6a4e48d52abb8821d531ea..c47c95630a3a379a9884275e8522e0f5d1d7c416 100644 (file)
@@ -60,7 +60,7 @@ inline bool is_utf16(char_type c)
  * This does only exist because of performance reasons (a real conversion
  * using iconv is too slow on windows).
  */
-inline char_type const qchar_to_ucs4(QChar const & qchar)
+inline char_type qchar_to_ucs4(QChar const & qchar)
 {
        BOOST_ASSERT(is_utf16(static_cast<char_type>(qchar.unicode())));
        return static_cast<char_type>(qchar.unicode());