X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FEncoding.h;h=6a96843607621adc7519ddee6b8e9a5a80ccc167;hb=dd1a85a2baf0aeb867a634ade47275b952d38354;hp=6bd90c7b80b94a8c5f984506988a33341f1ff527;hpb=3b2bcef455cdc82b38ceefe57ad6444c8d0159fe;p=lyx.git diff --git a/src/Encoding.h b/src/Encoding.h index 6bd90c7b80..6a96843607 100644 --- a/src/Encoding.h +++ b/src/Encoding.h @@ -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(); }