src/history.cpp

changeset 411
fd90677cec8d
parent 409
8da2563c645a
child 412
064b0467c8de
--- a/src/history.cpp	Thu Aug 01 02:49:42 2013 +0300
+++ b/src/history.cpp	Thu Aug 01 03:26:47 2013 +0300
@@ -25,10 +25,9 @@
 
 bool g_fullRefresh = false;
 
-History::History() {
-	setOpened (false);
-	setPos (-1);
-}
+History::History() :
+	m_opened( false ),
+	m_pos( -1 ) {}
 
 void History::undo() {
 	if (m_changesets.size() == 0 || pos() == -1)

mercurial