Navigation Menu

Skip to content

Commit

Permalink
Add a missing initialization.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-yata committed Jun 17, 2013
1 parent e48df0d commit 7c2f9fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/grnxx/map/key_store.cpp
Expand Up @@ -167,6 +167,7 @@ template <typename T>
bool KeyStore<T>::truncate() {
header_->max_key_id = MAP_MIN_KEY_ID - 1;
header_->num_keys = 0;
header_->latest_link = INVALID_LINK;
return true;
}

Expand Down

0 comments on commit 7c2f9fb

Please sign in to comment.