Commit 9e3ed44e authored by Milo Yip's avatar Milo Yip

Suppress VS2013 warnings due to #64

parent 8d70a8d0
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment