diff options
author | David Robillard <d@drobilla.net> | 2020-11-27 17:57:36 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-27 21:42:51 +0100 |
commit | 60a5b15002ea970ffaee6489a5a9322698e6d0b3 (patch) | |
tree | 9c5692985cca8ace53eba38208cade5391838afd | |
parent | 8edaca929cbc619d47e799f19494d1b3b6c4dd2f (diff) | |
download | patchage-60a5b15002ea970ffaee6489a5a9322698e6d0b3.tar.gz patchage-60a5b15002ea970ffaee6489a5a9322698e6d0b3.tar.bz2 patchage-60a5b15002ea970ffaee6489a5a9322698e6d0b3.zip |
Fix static accessed through instance
-rw-r--r-- | .clang-tidy | 1 | ||||
-rw-r--r-- | src/main.cpp | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/.clang-tidy b/.clang-tidy index 6d00d38..7d331cd 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -59,7 +59,6 @@ Checks: > -readability-isolate-declaration, -readability-make-member-function-const, -readability-redundant-smartptr-get, - -readability-static-accessed-through-instance, FormatStyle: file WarningsAsErrors: '*' HeaderFilterRegex: 'src/.*'
\ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp index 5a8d6be..6ad255f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,5 +1,5 @@ /* This file is part of Patchage. - * Copyright 2007-2014 David Robillard <http://drobilla.net> + * Copyright 2007-2020 David Robillard <d@drobilla.net> * * Patchage is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free @@ -81,7 +81,7 @@ main(int argc, char** argv) Gtk::Main app(argc, argv); Patchage patchage(argc, argv); - app.run(*patchage.window()); + Gtk::Main::run(*patchage.window()); patchage.save(); } catch (std::exception& e) { |