Change reference initializations errors in GCC 4.8

Resolves issue #12.
This commit is contained in:
Jared Boone 2015-07-17 12:07:38 -07:00
parent 92ba4d7fea
commit e571ca7f1c
8 changed files with 9 additions and 9 deletions

View file

@ -281,8 +281,8 @@ public:
ui::Painter& painter,
ui::Context& context
) : top_widget { top_widget },
painter { painter },
context { context }
painter(painter),
context(context)
{
// touch_manager.on_started = [this](const ui::TouchEvent event) {
// this->context.focus_manager.update(this->top_widget, event);

View file

@ -35,7 +35,7 @@ class ReceiverModel {
public:
constexpr ReceiverModel(
ClockManager& clock_manager
) : clock_manager { clock_manager }
) : clock_manager(clock_manager)
{
}

View file

@ -38,7 +38,7 @@ public:
const Rect parent_rect,
lcd::ILI9341& display
) : Widget { parent_rect },
display { display }
display(display)
{
}

View file

@ -119,7 +119,7 @@ SystemView::SystemView(
Context& context,
const Rect parent_rect
) : View { parent_rect },
context_ { context }
context_(context)
{
style_ = &style_default;

View file

@ -376,7 +376,7 @@ void LNAGainField::on_focus() {
ReceiverView::ReceiverView(
NavigationView& nav,
ReceiverModel& receiver_model
) : receiver_model { receiver_model }
) : receiver_model(receiver_model)
{
add_children({ {
&button_done,