TachSensor: Replace iterator pairs with structured bindings

Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Change-Id: Id86eba1da82f6522f372ac0646a8e4c07a94c899
diff --git a/src/TachSensor.cpp b/src/TachSensor.cpp
index 549838b..41cc212 100644
--- a/src/TachSensor.cpp
+++ b/src/TachSensor.cpp
@@ -324,9 +324,9 @@
     size_t failedCount = 0;
 
     std::string newState = redundancy::full;
-    for (const auto& status : statuses)
+    for (const auto& [name, status] : statuses)
     {
-        if (status.second)
+        if (status)
         {
             failedCount++;
         }