Skip to content

Commit 0d406ec

Browse files
Fixed MSVC compiler warning because of using class instead of struct in a friend declaration
1 parent 7c03b1b commit 0d406ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/StatusDialog.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class CStatusDialog : public QDialog
2323
Q_OBJECT
2424
private:
2525
StatusDialogPrivate* d; ///< private data (pimpl)
26-
friend class StatusDialogPrivate;
26+
friend struct StatusDialogPrivate;
2727

2828
private slots:
2929
void on_dockWidgetsComboBox_currentIndexChanged(int index);

0 commit comments

Comments
 (0)