mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
THRIFT-3066 C++ TDenseProtocol assert modifies instead of checks
Client: C++ Patch: James E. King, III <jim.king@simplivity.com>
This commit is contained in:
parent
4aa95df383
commit
434edf6d5d
@ -155,7 +155,7 @@ inline void TDenseProtocol::stateTransition() {
|
||||
// If this is the end of the top-level write, we should have just popped
|
||||
// the TypeSpec passed to the constructor.
|
||||
if (ts_stack_.empty()) {
|
||||
assert(old_tts = type_spec_);
|
||||
assert(old_tts == type_spec_);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user