Commit 4d3e4cfa authored by Feng Xiao's avatar Feng Xiao

Fix MSVC stack overflow issue.

parent a428e420
......@@ -139,7 +139,12 @@ class JsonStreamParserTest : public ::testing::Test {
}
#ifndef _MSC_VER
// TODO(xiaofeng): We have to disable InSequence check for MSVC because it
// causes stack overflow due to its use of a linked list that is desctructed
// recursively.
::testing::InSequence in_sequence_;
#endif // !_MSC_VER
MockObjectWriter mock_;
ExpectingObjectWriter ow_;
};
......
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