+ pass parameter by const ref

This commit is contained in:
Artem Pavlenko 2009-04-10 11:47:46 +00:00
parent 36886d697c
commit 9cdc8951ca

View file

@ -31,7 +31,7 @@ namespace mapnik {
{ {
Envelope<double> ext_; Envelope<double> ext_;
ImageData32 data_; ImageData32 data_;
raster(Envelope<double> const ext,ImageData32& data) raster(Envelope<double> const& ext,ImageData32& data)
: ext_(ext), : ext_(ext),
data_(data) {} data_(data) {}
}; };