summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-07-17 09:14:28 -0400
committerDavid Robillard <d@drobilla.net>2024-07-17 09:14:28 -0400
commit9194d865a11ce92aa920557d618c1daeec663e9e (patch)
tree91cc96e9c7ef1964d654aac3a4f51b458ebfd54a
parent92332dce5506c8532775ea8644bb11999c64b1ba (diff)
downloadpatchage-9194d865a11ce92aa920557d618c1daeec663e9e.tar.gz
patchage-9194d865a11ce92aa920557d618c1daeec663e9e.tar.bz2
patchage-9194d865a11ce92aa920557d618c1daeec663e9e.zip
Remove redundant member initializer
-rw-r--r--.clang-tidy1
-rw-r--r--src/ClientID.hpp6
2 files changed, 3 insertions, 4 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 8c5165e..7a601ab 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -54,7 +54,6 @@ Checks: >
-readability-identifier-length,
-readability-implicit-bool-conversion,
-readability-redundant-inline-specifier,
- -readability-redundant-member-init,
FormatStyle: file
WarningsAsErrors: '*'
HeaderFilterRegex: '.*'
diff --git a/src/ClientID.hpp b/src/ClientID.hpp
index d73e45e..f918ea4 100644
--- a/src/ClientID.hpp
+++ b/src/ClientID.hpp
@@ -60,9 +60,9 @@ private:
assert(_type == Type::alsa);
}
- Type _type; ///< Determines which field is active
- std::string _jack_name{}; ///< Client name for Type::jack
- uint8_t _alsa_id{}; ///< Client ID for Type::alsa
+ Type _type; ///< Determines which field is active
+ std::string _jack_name; ///< Client name for Type::jack
+ uint8_t _alsa_id{}; ///< Client ID for Type::alsa
};
inline std::ostream&