Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed May 25, 2021
1 parent d2be872 commit c82ead3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgssymbolbutton.h
Expand Up @@ -18,6 +18,7 @@
#include "qgis_gui.h"
#include "qgis_sip.h"
#include "qgis.h"
#include "qgssymbol.h"

#include <QToolButton>
#include <QPointer>
Expand All @@ -29,7 +30,6 @@ class QgsExpressionContextGenerator;
class QgsPanelWidget;
class QgsMessageBar;
class QMimeData;
class QgsSymbol;

/**
* \ingroup gui
Expand Down

1 comment on commit c82ead3

@nyalldawson
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @jef-n a better fix here is to add a destructor to the class, defined in the .cpp file. That avoids the header include and works with the forward declaration only (so faster compilation)

Please sign in to comment.