Working on g++ compatibility
[invirt/third/libt4.git] / paxos.h
diff --git a/paxos.h b/paxos.h
index 8c9fc8f..db18e6c 100644 (file)
--- a/paxos.h
+++ b/paxos.h
@@ -45,7 +45,7 @@ class proposer_acceptor {
         map<unsigned,value_t> values;   // vals of each instance
 
         friend class log;
-        log l = {this, me};
+        class log l = {this, me};
 
         void commit(unsigned instance, const value_t & v);
         void commit(unsigned instance, const value_t & v, lock & pxs_mutex_lock);