No default template parameter for older compilers
This commit is contained in:
parent
19b55c9049
commit
a3d52c75b7
@ -222,7 +222,7 @@ public:
|
||||
bool IsZero() const { return count_ == 1 && digits_[0] == 0; }
|
||||
|
||||
private:
|
||||
template<typename Ch = char>
|
||||
template<typename Ch>
|
||||
void AppendDecimal64(const Ch* begin, const Ch* end) {
|
||||
uint64_t u = ParseUint64(begin, end);
|
||||
if (IsZero())
|
||||
@ -238,7 +238,7 @@ private:
|
||||
digits_[count_++] = digit;
|
||||
}
|
||||
|
||||
template<typename Ch = char>
|
||||
template<typename Ch>
|
||||
static uint64_t ParseUint64(const Ch* begin, const Ch* end) {
|
||||
uint64_t r = 0;
|
||||
for (const Ch* p = begin; p != end; ++p) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user