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 <[email protected]>
This commit is contained in:
Jérôme Duval
2021-03-20 09:30:14 +00:00
parent f116fa6b2e
commit 267c6a9b0d
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -19,7 +19,8 @@ class BNumberFormatImpl;
class BNumberFormat : public BFormat { class BNumberFormat : public BFormat {
public: public:
BNumberFormat(const BLocale* locale = NULL); BNumberFormat();
BNumberFormat(const BLocale* locale);
~BNumberFormat(); ~BNumberFormat();
ssize_t Format(char* string, size_t maxSize, ssize_t Format(char* string, size_t maxSize,
@@ -44,7 +45,6 @@ public:
BString GetSeparator(BNumberElement element); BString GetSeparator(BNumberElement element);
private: private:
BNumberFormat();
BNumberFormat(const BNumberFormat &other); BNumberFormat(const BNumberFormat &other);
private: private:
+4 -4
View File
@@ -186,15 +186,15 @@ BNumberFormatImpl::ApplyFormatter(NumberFormat* formatter, BString& string,
} }
BNumberFormat::BNumberFormat(const BLocale* locale) BNumberFormat::BNumberFormat()
: BFormat(locale) : BFormat()
{ {
fPrivateData = new BNumberFormatImpl(); fPrivateData = new BNumberFormatImpl();
} }
BNumberFormat::BNumberFormat() BNumberFormat::BNumberFormat(const BLocale* locale)
: BFormat() : BFormat(locale)
{ {
fPrivateData = new BNumberFormatImpl(); fPrivateData = new BNumberFormatImpl();
} }