history.h

changeset 174
963697b36118
parent 168
96691a009dff
--- 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;
+	}
 };
 
 // =============================================================================

mercurial