Activate some clang-tidy checks (#1884)

This commit is contained in:
Otto Winter
2021-06-10 13:04:40 +02:00
committed by GitHub
parent eb9bd69405
commit 360effcb72
109 changed files with 458 additions and 422 deletions
+1 -1
View File
@@ -246,7 +246,7 @@ class PollingComponent : public Component {
class Nameable {
public:
Nameable() : Nameable("") {}
explicit Nameable(const std::string &name);
explicit Nameable(std::string name);
const std::string &get_name() const;
void set_name(const std::string &name);
/// Get the sanitized name of this nameable as an ID. Caching it internally.