QString(En|De)coder: Remove noexcept from ctor taking name
It is necessary as the QStringConverter ctor is no longer noexcept, as
it can now allocate memory.
This change is ABI-wise safe, as the method was only changed to be
noexcept in 6.4.
Amends 122270d6be.
Pick-to: 6.4
Change-Id: Ifab4302d659524e27f38f0f90e5813a2c2a4a452
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
parent
a2501fff81
commit
ba2ae1720a
|
|
@ -32,7 +32,7 @@ public:
|
|||
constexpr explicit QStringEncoder(Encoding encoding, Flags flags = Flag::Default)
|
||||
: QStringConverter(encoding, flags)
|
||||
{}
|
||||
explicit QStringEncoder(const char *name, Flags flags = Flag::Default) noexcept
|
||||
explicit QStringEncoder(const char *name, Flags flags = Flag::Default)
|
||||
: QStringConverter(name, flags)
|
||||
{}
|
||||
|
||||
|
|
@ -101,7 +101,7 @@ public:
|
|||
constexpr QStringDecoder() noexcept
|
||||
: QStringConverter()
|
||||
{}
|
||||
explicit QStringDecoder(const char *name, Flags f = Flag::Default) noexcept
|
||||
explicit QStringDecoder(const char *name, Flags f = Flag::Default)
|
||||
: QStringConverter(name, f)
|
||||
{}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue