From 226a80140a12d1ad3b76959aa1d8884b01c6923c Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Wed, 27 May 2020 18:27:29 -0400 Subject: [PATCH] Add some unnecessary #include directives... ... They are not necessary to build, but the do indicate some link dependencies to fix, that were not shown in results of scripts/graph.pl. The link dependencies exist because the header declaring some name did not correspond to the .cpp file that defined it. --- src/commands/CommandFlag.h | 3 +++ src/import/ImportPlugin.h | 3 +++ src/prefs/PrefsPanel.h | 3 +++ 3 files changed, 9 insertions(+) diff --git a/src/commands/CommandFlag.h b/src/commands/CommandFlag.h index 13da17745..d2fb2c5ec 100644 --- a/src/commands/CommandFlag.h +++ b/src/commands/CommandFlag.h @@ -120,4 +120,7 @@ struct RegisteredMenuItemEnabler{ RegisteredMenuItemEnabler( const MenuItemEnabler &enabler ); }; +// Unnecessary #include to indicate otherwise hidden link dependencies +#include "Menus.h" + #endif diff --git a/src/import/ImportPlugin.h b/src/import/ImportPlugin.h index 5f3469b89..2d8df529d 100644 --- a/src/import/ImportPlugin.h +++ b/src/import/ImportPlugin.h @@ -182,4 +182,7 @@ private: const FileExtensions mExtensions; }; +// Unnecessary #include to indicate otherwise hidden link dependencies +#include "Import.h" + #endif diff --git a/src/prefs/PrefsPanel.h b/src/prefs/PrefsPanel.h index bcd8063b5..153ca2a28 100644 --- a/src/prefs/PrefsPanel.h +++ b/src/prefs/PrefsPanel.h @@ -102,4 +102,7 @@ class PrefsPanel /* not final */ : public wxPanelWrapper, ComponentInterface virtual void Cancel(); }; +// Unnecessary #include to indicate otherwise hidden link dependencies +#include "PrefsDialog.h" + #endif