Index: source/i18n/digitlst.h |
diff --git a/source/i18n/digitlst.h b/source/i18n/digitlst.h |
index 2557f7038e8bf5c4a92c44d53ecfb03970acd39b..45cb49a64418bd77665029444c4e259b289dbda8 100644 |
--- a/source/i18n/digitlst.h |
+++ b/source/i18n/digitlst.h |
@@ -1,3 +1,5 @@ |
+// Copyright (C) 2016 and later: Unicode, Inc. and others. |
+// License & terms of use: http://www.unicode.org/copyright.html |
/* |
****************************************************************************** |
* |
@@ -267,7 +269,7 @@ public: |
* @param source The value to be set. The string must be nul-terminated. |
* @param fastpathBits special flags for fast parsing |
*/ |
- void set(const StringPiece &source, UErrorCode &status, uint32_t fastpathBits = 0); |
+ void set(StringPiece source, UErrorCode &status, uint32_t fastpathBits = 0); |
/** |
* Multiply this = this * arg |
@@ -477,8 +479,7 @@ private: |
} fUnion; |
enum EHave { |
kNone=0, |
- kDouble, |
- kInt64 |
+ kDouble |
} fHave; |
@@ -494,7 +495,8 @@ private: |
static inline void * U_EXPORT2 operator new(size_t size) U_NO_THROW { return ::operator new(size); }; |
static inline void U_EXPORT2 operator delete(void *ptr ) U_NO_THROW { ::operator delete(ptr); }; |
#endif |
- static char U_EXPORT2 getStrtodDecimalSeparator(); |
+ |
+ static double U_EXPORT2 decimalStrToDouble(char *decstr, char **end); |
/** |
* Placement new for stack usage |
@@ -513,10 +515,6 @@ private: |
fHave = kDouble; |
fUnion.fDouble=d; |
} |
- inline void internalSetInt64(int64_t d) { |
- fHave = kInt64; |
- fUnion.fInt64=d; |
- } |
inline void internalClear() { |
fHave = kNone; |
} |