diff options
author | David Robillard <d@drobilla.net> | 2020-11-27 17:57:52 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-27 21:42:51 +0100 |
commit | 62066f05afa0e993448fef6d3ba52b7b0355b4ab (patch) | |
tree | 6b8acd22009ade3e4362813f89a3459bb4def529 | |
parent | ec25678dfbd0353f3535562022a5b2be88f39149 (diff) | |
download | patchage-62066f05afa0e993448fef6d3ba52b7b0355b4ab.tar.gz patchage-62066f05afa0e993448fef6d3ba52b7b0355b4ab.tar.bz2 patchage-62066f05afa0e993448fef6d3ba52b7b0355b4ab.zip |
Use a single declaration per line
-rw-r--r-- | .clang-tidy | 1 | ||||
-rw-r--r-- | src/JackDriver.cpp | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.clang-tidy b/.clang-tidy index c0f5b22..330c605 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -45,7 +45,6 @@ Checks: > -modernize-use-trailing-return-type, -readability-convert-member-functions-to-static, -readability-implicit-bool-conversion, - -readability-isolate-declaration, -readability-make-member-function-const, FormatStyle: file WarningsAsErrors: '*' diff --git a/src/JackDriver.cpp b/src/JackDriver.cpp index 48f3b9c..8c79084 100644 --- a/src/JackDriver.cpp +++ b/src/JackDriver.cpp @@ -148,7 +148,8 @@ JackDriver::create_port_view(Patchage* patchage, const PortID& id) const int jack_flags = jack_port_flags(jack_port); - std::string module_name, port_name; + std::string module_name; + std::string port_name; port_names(id, module_name, port_name); ModuleType type = ModuleType::input_output; |