Log::append() tests

This commit is contained in:
Pavel Kirienko
2015-05-03 20:28:39 +03:00
parent a7dd5f9aea
commit 54fcfe4e06
2 changed files with 80 additions and 4 deletions
@@ -130,9 +130,9 @@ class Log
public:
typedef uint8_t Index;
private:
enum { Capacity = NodeID::Max + 1 };
private:
IDynamicNodeIDStorageBackend& storage_;
protocol::dynamic_node_id::server::Entry entries_[Capacity];
Index last_index_; // Index zero always contains an empty entry