Locale: correct fix binary compatibility for BNumberFormat

fix HaikuDepot build after hrev55006

Change-Id: I3c275e1b0f23f936db448ad82639458535617d6a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3809
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
This commit is contained in:
Jérôme Duval 2021-03-19 23:03:50 +01:00
parent f116fa6b2e
commit 267c6a9b0d
2 changed files with 6 additions and 6 deletions

View File

@ -19,7 +19,8 @@ class BNumberFormatImpl;
class BNumberFormat : public BFormat {
public:
BNumberFormat(const BLocale* locale = NULL);
BNumberFormat();
BNumberFormat(const BLocale* locale);
~BNumberFormat();
ssize_t Format(char* string, size_t maxSize,
@ -44,7 +45,6 @@ public:
BString GetSeparator(BNumberElement element);
private:
BNumberFormat();
BNumberFormat(const BNumberFormat &other);
private:

View File

@ -186,15 +186,15 @@ BNumberFormatImpl::ApplyFormatter(NumberFormat* formatter, BString& string,
}
BNumberFormat::BNumberFormat(const BLocale* locale)
: BFormat(locale)
BNumberFormat::BNumberFormat()
: BFormat()
{
fPrivateData = new BNumberFormatImpl();
}
BNumberFormat::BNumberFormat()
: BFormat()
BNumberFormat::BNumberFormat(const BLocale* locale)
: BFormat(locale)
{
fPrivateData = new BNumberFormatImpl();
}