Skip to content

Commit c368066

Browse files
committed
[WIP] restore memory_datasource mapnik/mapnik#4377
1 parent 82b9173 commit c368066

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/mapnik_datasource.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@
3838
#include <mapnik/datasource.hpp>
3939
#include <mapnik/datasource_cache.hpp>
4040
#include <mapnik/feature_layer_desc.hpp>
41-
//#include <mapnik/memory_datasource.hpp>
41+
#include <mapnik/memory_datasource.hpp>
4242

4343

4444
using mapnik::datasource;
45-
//using mapnik::memory_datasource;
45+
using mapnik::memory_datasource;
4646
using mapnik::layer_descriptor;
4747
using mapnik::attribute_descriptor;
4848
using mapnik::parameters;
@@ -197,7 +197,7 @@ void export_datasource()
197197
;
198198

199199
def("CreateDatasource",&create_datasource);
200-
/*
200+
201201
class_<memory_datasource,
202202
bases<datasource>, std::shared_ptr<memory_datasource>,
203203
boost::noncopyable>("MemoryDatasourceBase", init<parameters>())
@@ -210,5 +210,4 @@ void export_datasource()
210210
;
211211

212212
implicitly_convertible<std::shared_ptr<memory_datasource>,std::shared_ptr<datasource> >();
213-
*/
214213
}

0 commit comments

Comments
 (0)