2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fix build of the new TWidgetHelper<> for GCC, finally.

Also fixed a char-related warning in codegen project.
This commit is contained in:
John Preston
2017-02-13 02:17:06 +03:00
parent 232ed0a7c0
commit 25f90b5159
2 changed files with 4 additions and 4 deletions

View File

@@ -220,6 +220,9 @@ private:
return qobject_cast<const TWidget*>(Base::parentWidget());
}
template <typename OtherBase>
friend class TWidgetHelper;
};
class TWidget : public TWidgetHelper<QWidget> {
@@ -303,9 +306,6 @@ protected:
return height();
}
template <typename Base>
friend class TWidgetHelper;
};
template <typename Widget>