--- a/history.h Tue May 07 16:12:15 2013 +0300 +++ b/history.h Tue May 07 17:51:10 2013 +0300 @@ -192,6 +192,11 @@ std::vector<HistoryEntry*> paEntries; ComboHistory (std::vector<HistoryEntry*> paEntries) : paEntries (paEntries) {} + + ComboHistory& operator<< (HistoryEntry* entry) { + paEntries.push_back (entry); + return *this; + } }; // =============================================================================