Commit 30e71e8b authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[master] introduce a temporary variable to work around some build failure

some compilers seem to be confused if we directly call a method
on the result of dynamic_cast.  I suspect it's a bug of the compiler in
template handling, but the workaround doesn't look so messy and I think
it's acceptable.

committing at my discretion.
parent a032d84e
......@@ -1322,8 +1322,11 @@ public:
// Mock-only; control whether to allow subsequent transaction.
void allowMoreTransaction(bool is_allowed) {
if (is_mock_) {
// Use a separate variable for MockAccessor&; some compilers
// would be confused otherwise.
MockAccessor& mock_accessor =
Supports Markdown
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