Permalink
Browse files

Fixing compile bug

  • Loading branch information...
1 parent c9d9092 commit aa3df4634664506d60cbb5fe2ff9bdb06481b22a cmmullin committed Oct 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 datastructures/StringDictionary.cpp
@@ -11,7 +11,7 @@ void StringDictionary::push(const string& _value) {
string* value = new string(_value);
if (entries->size() == max_entries) {
- string *old_value = entries->at(next_free_location);
+ const string *old_value = entries->at(next_free_location);
reverse_entries->erase(old_value);
(*entries)[next_free_location] = value;

0 comments on commit aa3df46

Please sign in to comment.