From 6d5aca1fb1552ad791a59507ebbafcda7884cb6c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 27 Nov 2020 17:57:37 +0100 Subject: Fix redundant smart pointer get --- .clang-tidy | 1 - src/PatchageModule.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.clang-tidy b/.clang-tidy index 7d331cd..ec4bf4a 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -58,7 +58,6 @@ Checks: > -readability-inconsistent-declaration-parameter-name, -readability-isolate-declaration, -readability-make-member-function-const, - -readability-redundant-smartptr-get, FormatStyle: file WarningsAsErrors: '*' HeaderFilterRegex: 'src/.*' \ No newline at end of file diff --git a/src/PatchageModule.cpp b/src/PatchageModule.cpp index 0b09a4f..8d8dfa7 100644 --- a/src/PatchageModule.cpp +++ b/src/PatchageModule.cpp @@ -25,7 +25,7 @@ PatchageModule::PatchageModule(Patchage* app, ModuleType type, double x, double y) - : Module(*app->canvas().get(), name, x, y) + : Module(*app->canvas(), name, x, y) , _app(app) , _menu(nullptr) , _name(name) -- cgit v1.2.1