More debugging
This commit is contained in:
@@ -7,6 +7,7 @@ void KeyStroke::subtract( KeyStroke * const prefix )
|
|||||||
for ( deque<char>::iterator i = prefix->user_bytes.begin();
|
for ( deque<char>::iterator i = prefix->user_bytes.begin();
|
||||||
i != prefix->user_bytes.end();
|
i != prefix->user_bytes.end();
|
||||||
i++ ) {
|
i++ ) {
|
||||||
|
assert( !user_bytes.empty() );
|
||||||
assert( *i == user_bytes.front() );
|
assert( *i == user_bytes.front() );
|
||||||
user_bytes.pop_front();
|
user_bytes.pop_front();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user