corrected c++ usage
parent
6ecf1a9b2a
commit
91f1f502fe
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue