From 87592cc89bd4c37a00c67c8ab3b31286401613e9 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Mon, 29 Oct 2018 13:32:44 -0400 Subject: [PATCH] Remove unused (and unintended) overload of Items --- src/commands/CommandManager.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/commands/CommandManager.h b/src/commands/CommandManager.h index ffd505da9..3b1b6df23 100644 --- a/src/commands/CommandManager.h +++ b/src/commands/CommandManager.h @@ -568,10 +568,6 @@ namespace MenuTable { inline BaseItemPtr Items( Args&&... args ) { return std::make_unique( std::forward(args)... ); } - inline BaseItemPtr Items( - const wxString &title, BaseItemPtrs &&items ) - { (void)title; // Compiler food - return std::make_unique( std::move( items ) ); } // Menu items can be constructed two ways, as for group items // Items will appear in a main toolbar menu or in a sub-menu