apps: small improvement with ndn::ConsumerBatches
diff --git a/apps/ndn-consumer-batches.h b/apps/ndn-consumer-batches.h
index 6f9167d..a8c67b7 100644
--- a/apps/ndn-consumer-batches.h
+++ b/apps/ndn-consumer-batches.h
@@ -57,11 +57,8 @@
// OnTimeout (uint32_t sequenceNumber);
private:
- Batches
- GetBatch () const { return Batches(); }
-
- void
- SetBatch (const Batches &batch);
+ virtual void
+ StartApplication (); ///< @brief Called at time specified by Start
void
AddBatch (uint32_t amount);
@@ -74,6 +71,8 @@
private:
bool m_initial;
+
+ Batches m_batches;
};
} // namespace ndn