mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-03-08 18:41:19 +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) {}
|
explicit ClearStackOnExit(GenericDocument& d) : d_(d) {}
|
||||||
~ClearStackOnExit() { d_.ClearStack(); }
|
~ClearStackOnExit() { d_.ClearStack(); }
|
||||||
private:
|
private:
|
||||||
|
ClearStackOnExit(const ClearStackOnExit&);
|
||||||
|
ClearStackOnExit& operator=(const ClearStackOnExit&);
|
||||||
GenericDocument& d_;
|
GenericDocument& d_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -348,6 +348,8 @@ private:
|
|||||||
~ClearStackOnExit() { r_.ClearStack(); }
|
~ClearStackOnExit() { r_.ClearStack(); }
|
||||||
private:
|
private:
|
||||||
GenericReader& r_;
|
GenericReader& r_;
|
||||||
|
ClearStackOnExit(const ClearStackOnExit&);
|
||||||
|
ClearStackOnExit& operator=(const ClearStackOnExit&);
|
||||||
};
|
};
|
||||||
|
|
||||||
// Parse object: { string : value, ... }
|
// Parse object: { string : value, ... }
|
||||||
@ -611,7 +613,7 @@ private:
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Parse int: zero / ( digit1-9 *DIGIT )
|
// Parse int: zero / ( digit1-9 *DIGIT )
|
||||||
unsigned i;
|
unsigned i = 0;
|
||||||
bool try64bit = false;
|
bool try64bit = false;
|
||||||
if (s.Peek() == '0') {
|
if (s.Peek() == '0') {
|
||||||
i = 0;
|
i = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user