]> git.lyx.org Git - lyx.git/blobdiff - src/Encoding.h
MathML: more consistency between DocBook and XHTML.
[lyx.git] / src / Encoding.h
index 6bd90c7b80b94a8c5f984506988a33341f1ff527..6a96843607621adc7519ddee6b8e9a5a80ccc167 100644 (file)
@@ -29,7 +29,7 @@ class EncodingException : public std::exception {
 public:
        EncodingException(char_type c);
        virtual ~EncodingException() noexcept {}
-       virtual const char * what() const noexcept;
+       virtual const char * what() const noexcept override;
 
        char_type failed_char;
        int par_id;
@@ -255,10 +255,10 @@ public:
        fromLyXName(std::string const & name, bool allowUnsafe = false) const;
        /// Get encoding from LaTeX name \p name and package \p package
        Encoding const * fromLaTeXName(std::string const & name,
-               int const & package = Encoding::any, bool allowUnsafe = false) const;
+               int package = Encoding::any, bool allowUnsafe = false) const;
        /// Get encoding from iconv name \p name and package \p package
        Encoding const * fromIconvName(std::string const & name,
-               int const & package = Encoding::any, bool allowUnsafe = false) const;
+               int package = Encoding::any, bool allowUnsafe = false) const;
 
        ///
        const_iterator begin() const { return encodinglist.begin(); }