summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.clang-tidy1
-rw-r--r--NEWS3
-rw-r--r--src/CanvasModule.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 1e0353f..0ac64c4 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -42,7 +42,6 @@ Checks: >
-llvm-header-guard,
-llvmlibc-*,
-misc-no-recursion,
- -modernize-make-unique,
-modernize-use-default-member-init,
-modernize-use-nodiscard,
-modernize-use-trailing-return-type,
diff --git a/NEWS b/NEWS
index 6ba0133..9dc3814 100644
--- a/NEWS
+++ b/NEWS
@@ -1,8 +1,9 @@
patchage (1.0.7) unstable;
+ * Switch to C++17 and modernize code
* Switch to meson build system
- -- David Robillard <d@drobilla.net> Tue, 19 Jul 2022 17:37:21 +0000
+ -- David Robillard <d@drobilla.net> Tue, 19 Jul 2022 17:38:10 +0000
patchage (1.0.6) stable;
diff --git a/src/CanvasModule.cpp b/src/CanvasModule.cpp
index eddc261..d3908df 100644
--- a/src/CanvasModule.cpp
+++ b/src/CanvasModule.cpp
@@ -84,7 +84,7 @@ CanvasModule::update_menu()
bool
CanvasModule::show_menu(GdkEventButton* ev)
{
- _menu = std::unique_ptr<Gtk::Menu>{new Gtk::Menu()};
+ _menu = std::make_unique<Gtk::Menu>();
Gtk::Menu::MenuList& items = _menu->items();