Skip to content

Commit a3d52c7

Browse files
committed
No default template parameter for older compilers
1 parent 19b55c9 commit a3d52c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/rapidjson/internal/biginteger.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ class BigInteger {
222222
bool IsZero() const { return count_ == 1 && digits_[0] == 0; }
223223

224224
private:
225-
template<typename Ch = char>
225+
template<typename Ch>
226226
void AppendDecimal64(const Ch* begin, const Ch* end) {
227227
uint64_t u = ParseUint64(begin, end);
228228
if (IsZero())
@@ -238,7 +238,7 @@ class BigInteger {
238238
digits_[count_++] = digit;
239239
}
240240

241-
template<typename Ch = char>
241+
template<typename Ch>
242242
static uint64_t ParseUint64(const Ch* begin, const Ch* end) {
243243
uint64_t r = 0;
244244
for (const Ch* p = begin; p != end; ++p) {

0 commit comments

Comments
 (0)