[util] Use automatic casts

pull/3135/head
Behdad Esfahbod 3 years ago
parent 97a9e4e41e
commit ba418cfc52
  1. 4
      util/view-cairo.hh

@ -141,8 +141,8 @@ view_cairo_t::render (const font_options_t *font_opts)
/* Create surface. */
cairo_t *cr = helper_cairo_create_context (w + margin.l + margin.r,
h + margin.t + margin.b,
static_cast<view_options_t *> (this),
static_cast<output_options_t *> (this),
this,
this,
content);
cairo_set_scaled_font (cr, scaled_font);

Loading…
Cancel
Save