diff options
author | David Robillard <d@drobilla.net> | 2022-05-27 12:38:08 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-05-27 12:54:26 -0400 |
commit | 4cb8a90e8d77986cf8e2c9e3bebcf4ad9e047a64 (patch) | |
tree | b86e19a3fae8710e0cc11c94737b80db5dbd10cc | |
parent | 1641dea5bc7cfd5c2f8d1a38dcdc07d3829a85eb (diff) | |
download | jalv-4cb8a90e8d77986cf8e2c9e3bebcf4ad9e047a64.tar.gz jalv-4cb8a90e8d77986cf8e2c9e3bebcf4ad9e047a64.tar.bz2 jalv-4cb8a90e8d77986cf8e2c9e3bebcf4ad9e047a64.zip |
Avoid "typedef" in C++
-rw-r--r-- | .clang-tidy | 1 | ||||
-rw-r--r-- | src/jalv_qt.cpp | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/.clang-tidy b/.clang-tidy index 457d5a1..f73214b 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -32,7 +32,6 @@ Checks: > -misc-no-recursion, -modernize-return-braced-init-list, -modernize-use-trailing-return-type, - -modernize-use-using, -readability-function-cognitive-complexity, -readability-implicit-bool-conversion, -readability-non-const-parameter, diff --git a/src/jalv_qt.cpp b/src/jalv_qt.cpp index b92c2c1..43fc490 100644 --- a/src/jalv_qt.cpp +++ b/src/jalv_qt.cpp @@ -306,10 +306,10 @@ private: LilvNode* _preset; }; -typedef struct { +struct PortContainer { Jalv* jalv; struct Port* port; -} PortContainer; +}; class Control : public QGroupBox { |