corrected c++ usage

artemp 2011-12-01 05:03:20 -08:00
parent 6ecf1a9b2a
commit 91f1f502fe

@ -50,7 +50,7 @@ A Shapefile datasource may be created as follows:
// Bridges
Layer lyr("Vector");
set_datasource(datasource_cache::instance()->create(p));
lyr.set_datasource(datasource_cache::instance()->create(p));
lyr.add_style("vector");
m.addLayer(lyr);
}