catchunks: simplify internal options handling
Change-Id: I537a281f6c996c2544c145ab9cc01a54272c8efa
diff --git a/tools/chunks/catchunks/pipeline-interests-aimd.cpp b/tools/chunks/catchunks/pipeline-interests-aimd.cpp
index e32a36d..667bd9e 100644
--- a/tools/chunks/catchunks/pipeline-interests-aimd.cpp
+++ b/tools/chunks/catchunks/pipeline-interests-aimd.cpp
@@ -34,11 +34,11 @@
namespace chunks {
PipelineInterestsAimd::PipelineInterestsAimd(Face& face, RttEstimatorWithStats& rttEstimator,
- const Options& options)
- : PipelineInterestsAdaptive(face, rttEstimator, options)
+ const Options& opts)
+ : PipelineInterestsAdaptive(face, rttEstimator, opts)
{
- if (options.isVerbose) {
- std::cerr << options;
+ if (m_options.isVerbose) {
+ printOptions();
}
}