Skip to content

Commit

Permalink
Added missing braces
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoabinader committed Jul 21, 2015
1 parent 6182ae6 commit d0ac49a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qmapboxgl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ void QMapboxGL::wheelEvent(QWheelEvent *ev)

void QMapboxGL::resizeGL(int w, int h)
{
d_ptr->size = { static_cast<uint16_t>(w), static_cast<uint16_t>(h) };
d_ptr->size = {{ static_cast<uint16_t>(w), static_cast<uint16_t>(h) }};
d_ptr->mapObj.update(mbgl::Update::Dimensions);
}

Expand Down

0 comments on commit d0ac49a

Please sign in to comment.