Skip to content

Commit

Permalink
resolve compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
Veklip committed May 16, 2015
1 parent 58f8628 commit a199971
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/test_sorted_set.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ int main(int argc, char **argv){
}
log_debug("");

const std::string *key;
std::string *key;
int64_t score;
int n = 0;
while(zset.front(&key, &score)){
while(zset.front(key, &score)){
printf("%s : %4lld\n", key->c_str(), score);
zset.pop_front();
n ++;
Expand Down

0 comments on commit a199971

Please sign in to comment.