mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-03-06 13:41:35 +01:00
Suppress VS2013 warnings due to #64
This commit is contained in:
parent
8d70a8d03e
commit
9e3ed44e85
@ -1350,6 +1350,8 @@ private:
|
||||
explicit ClearStackOnExit(GenericDocument& d) : d_(d) {}
|
||||
~ClearStackOnExit() { d_.ClearStack(); }
|
||||
private:
|
||||
ClearStackOnExit(const ClearStackOnExit&);
|
||||
ClearStackOnExit& operator=(const ClearStackOnExit&);
|
||||
GenericDocument& d_;
|
||||
};
|
||||
|
||||
|
@ -348,6 +348,8 @@ private:
|
||||
~ClearStackOnExit() { r_.ClearStack(); }
|
||||
private:
|
||||
GenericReader& r_;
|
||||
ClearStackOnExit(const ClearStackOnExit&);
|
||||
ClearStackOnExit& operator=(const ClearStackOnExit&);
|
||||
};
|
||||
|
||||
// Parse object: { string : value, ... }
|
||||
@ -611,7 +613,7 @@ private:
|
||||
}
|
||||
|
||||
// Parse int: zero / ( digit1-9 *DIGIT )
|
||||
unsigned i;
|
||||
unsigned i = 0;
|
||||
bool try64bit = false;
|
||||
if (s.Peek() == '0') {
|
||||
i = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user