mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-26 07:38:30 +02:00
Activate some clang-tidy checks (#1884)
This commit is contained in:
@@ -42,7 +42,7 @@ template<typename T> class optional { // NOLINT
|
||||
|
||||
optional(nullopt_t) {}
|
||||
|
||||
optional(T const &arg) : has_value_(true), value_(arg) {}
|
||||
optional(T const &arg) : has_value_(true), value_(arg) {} // NOLINT
|
||||
|
||||
template<class U> optional(optional<U> const &other) : has_value_(other.has_value()), value_(other.value()) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user