Use SensorBaseConfigMap where applicable
If we've got a more concise, descriptive name for it, we might as well
use it.
Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Change-Id: Id2f1bd8f983b4e0c2ca24b24c9fc9b875f4191f5
diff --git a/src/Thresholds.cpp b/src/Thresholds.cpp
index ff452bc..ae7718e 100644
--- a/src/Thresholds.cpp
+++ b/src/Thresholds.cpp
@@ -136,10 +136,9 @@
std::string thresholdInterface =
baseInterface + ".Thresholds" + std::to_string(ii);
conn->async_method_call(
- [&, path, threshold, thresholdInterface, labelMatch](
- const boost::system::error_code& ec,
- const boost::container::flat_map<std::string, BasicVariantType>&
- result) {
+ [&, path, threshold, thresholdInterface,
+ labelMatch](const boost::system::error_code& ec,
+ const SensorBaseConfigMap& result) {
if (ec)
{
return; // threshold not supported