From f9b19d7789548afb458e4e6d32f02df612b9d0ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 4 Nov 2013 13:34:15 +0100 Subject: [PATCH] Warning fix --- ui/view.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/view.h b/ui/view.h index 3210187b21..663d0f302e 100644 --- a/ui/view.h +++ b/ui/view.h @@ -291,7 +291,7 @@ View *GetFocusedView(); class View { public: - View(LayoutParams *layoutParams = 0) : layoutParams_(layoutParams), visibility_(V_VISIBLE), measuredWidth_(0), measuredHeight_(0), enabled_(true), enabledPtr_(0) { + View(LayoutParams *layoutParams = 0) : layoutParams_(layoutParams), visibility_(V_VISIBLE), measuredWidth_(0), measuredHeight_(0), enabledPtr_(0), enabled_(true) { if (!layoutParams) layoutParams_.reset(new LayoutParams()); } @@ -310,7 +310,7 @@ public: void Move(Bounds bounds) { bounds_ = bounds; } - + // Views don't do anything here in Layout, only containers implement this. virtual void Measure(const UIContext &dc, MeasureSpec horiz, MeasureSpec vert); virtual void Layout() {}