[binary_sensor] Modernize to C++17 nested namespaces and remove redundant qualifications (#11929)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2025-11-16 04:21:06 +00:00
1 parent fc546ca3f6
commit ea2b4c3e25
6 files changed
+18 -37

No files matched your search

@@ -6,9 +6,7 @@
#include <initializer_list>
namespace esphome {
namespace binary_sensor {
namespace esphome::binary_sensor {
class BinarySensor;
void log_binary_sensor(const char *tag, const char *prefix, const char *type, BinarySensor *obj);
@@ -70,5 +68,4 @@ class BinarySensorInitiallyOff : public BinarySensor {
bool has_state() const override { return true; }
};
} // namespace binary_sensor
} // namespace esphome
} // namespace esphome::binary_sensor