Closed beta 1.1.23.5: Fix build for Xcode and GCC.

This commit is contained in:
John Preston 2017-11-16 21:46:00 +04:00
parent 0a5ba3490d
commit 0811190527
2 changed files with 1 additions and 2 deletions

View file

@ -46,7 +46,6 @@ void EmptyWidget::setFullHeight(rpl::producer<int> fullHeightValue) {
void EmptyWidget::setType(Type type) {
_type = type;
using Data = std::pair<const style::icon*, LangKey>;
_icon = [&] {
switch (_type) {
case Type::Photo: return &st::infoEmptyPhoto;

View file

@ -80,7 +80,7 @@ public:
// ClickHandlerHost interface
void clickHandlerActiveChanged(const ClickHandlerPtr &p, bool active) override;
int resizeGetHeight(int width) {
int resizeGetHeight(int width) override {
_width = width;
return _minh;
}