fw: pull FaceTable construction out of Forwarder class
Refs: #4922, #4973
Change-Id: Ibbd4a8840cb0d01ebbd4cabf9c34fa78a1d23db1
diff --git a/tests/daemon/table/measurements-accessor.t.cpp b/tests/daemon/table/measurements-accessor.t.cpp
index aeed38f..1c5a850 100644
--- a/tests/daemon/table/measurements-accessor.t.cpp
+++ b/tests/daemon/table/measurements-accessor.t.cpp
@@ -62,7 +62,6 @@
{
protected:
MeasurementsAccessorFixture()
- : measurements(forwarder.getMeasurements())
{
const Name strategyP("/measurements-accessor-test-strategy-P/%FD%01");
const Name strategyQ("/measurements-accessor-test-strategy-Q/%FD%01");
@@ -81,8 +80,9 @@
}
protected:
- Forwarder forwarder;
- Measurements& measurements;
+ FaceTable faceTable;
+ Forwarder forwarder{faceTable};
+ Measurements& measurements{forwarder.getMeasurements()};
MeasurementsAccessor* accessor1;
MeasurementsAccessor* accessor2;
MeasurementsAccessor* accessor3;