diff --git a/src/raster_colorizer.cpp b/src/raster_colorizer.cpp index 1180c0c89..befa1606e 100644 --- a/src/raster_colorizer.cpp +++ b/src/raster_colorizer.cpp @@ -101,7 +101,7 @@ bool raster_colorizer::add_stop(colorizer_stop const& stop) } namespace { -template +template float get_nodata_color() { return 0; // rgba(0,0,0,0) @@ -115,7 +115,7 @@ float get_nodata_color() return static_cast(0xff000000); } -} +} // namespace template void raster_colorizer::colorize(image_rgba8& out,