mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-31 18:19:35 +08:00
fixed a compiler error
This commit is contained in:
parent
86560fe727
commit
1c873591be
@ -592,7 +592,6 @@ struct ILogSystem {
|
||||
|
||||
//FIXME: collectTags is needed to support upgrades from 5.X to 6.0. Remove this code when we no longer support that upgrade.
|
||||
bool collectTags;
|
||||
VectorRef<Tag> tags;
|
||||
void combineMessages();
|
||||
|
||||
BufferedCursor( std::vector<Reference<IPeekCursor>> cursors, Version begin, Version end, bool withTags, bool collectTags, bool canDiscardPopped );
|
||||
|
@ -937,7 +937,7 @@ void ILogSystem::BufferedCursor::combineMessages() {
|
||||
return;
|
||||
}
|
||||
|
||||
tags.clear();
|
||||
std::vector<Tag> tags;
|
||||
tags.push_back(messages[messageIndex].tags[0]);
|
||||
for(int i = messageIndex + 1; i < messages.size() && messages[messageIndex].version == messages[i].version; i++) {
|
||||
tags.push_back(messages[i].tags[0]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user