Loading slc/trunk/src/history.cc +3 −0 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 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