De-constexpr a few UI constructors.

Because it was silly.
This commit is contained in:
Jared Boone 2016-04-22 11:18:35 -07:00
parent 61b5faf8b5
commit 27a1423309
5 changed files with 6 additions and 6 deletions

View File

@ -34,7 +34,7 @@ namespace ui {
class Audio : public Widget {
public:
constexpr Audio(
Audio(
const Rect parent_rect
) : Widget { parent_rect },
rms_db_ { -120 },

View File

@ -34,7 +34,7 @@ namespace ui {
class Channel : public Widget {
public:
constexpr Channel(
Channel(
const Rect parent_rect
) : Widget { parent_rect },
max_db_ { -120 }

View File

@ -84,7 +84,7 @@ private:
class TemperatureWidget : public Widget {
public:
explicit constexpr TemperatureWidget(
explicit TemperatureWidget(
Rect parent_rect
) : Widget { parent_rect }
{

View File

@ -34,7 +34,7 @@ namespace ui {
class RSSI : public Widget {
public:
constexpr RSSI(
RSSI(
const Rect parent_rect
) : Widget { parent_rect },
min_ { 0 },

View File

@ -51,12 +51,12 @@ private:
class Widget {
public:
constexpr Widget(
Widget(
) : parent_rect { }
{
}
constexpr Widget(
Widget(
Rect parent_rect
) : parent_rect { parent_rect }
{