Loading slc/trunk/src/history.cc +3 −0 Changes for slc/trunk/src/history.cc: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -14,6 +14,9 @@ void History::add(const string &s) { if (s.empty()) return; if (!table_.empty() && s == table_.front()) return; if (table_.size() >= max_size_) table_.resize(max_size_); Loading Loading
slc/trunk/src/history.cc +3 −0 Changes for slc/trunk/src/history.cc: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -14,6 +14,9 @@ void History::add(const string &s) { if (s.empty()) return; if (!table_.empty() && s == table_.front()) return; if (table_.size() >= max_size_) table_.resize(max_size_); Loading