Skip to content

Commit 6e54d8d

Browse files
committed
changes to c++ because gcc 4.8 seems to allow things the compiler
on travis will not.
1 parent 3020d13 commit 6e54d8d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/_backend_agg.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,8 @@ RendererAgg::RendererAgg(unsigned int width, unsigned int height, double dpi,
421421
rendererAA(),
422422
rendererBin(),
423423
theRasterizer(),
424-
debug(debug)
424+
debug(debug),
425+
_fill_color(agg::rgba(1, 1, 1, 0))
425426
{
426427
_VERBOSE("RendererAgg::RendererAgg");
427428
unsigned stride(width*4);

src/_backend_agg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ class RendererAgg: public Py::PythonExtension<RendererAgg>
241241

242242
const int debug;
243243

244-
agg::rgba _fill_color = agg::rgba(1, 1, 1, 0);
244+
agg::rgba _fill_color;
245245

246246

247247
protected:

0 commit comments

Comments
 (0)