mapnik-index : output number of elements

This commit is contained in:
artemp 2015-10-13 17:12:02 +01:00
parent 3368b6d1de
commit 950afdcac1

View file

@ -189,7 +189,7 @@ int main (int argc, char** argv)
{ {
tree.trim(); tree.trim();
std::clog << "number nodes=" << tree.count() << std::endl; std::clog << "number nodes=" << tree.count() << std::endl;
//tree.print(); std::clog << "number element=" << tree.count_items() << std::endl;
file.exceptions(std::ios::failbit | std::ios::badbit); file.exceptions(std::ios::failbit | std::ios::badbit);
tree.write(file); tree.write(file);
file.flush(); file.flush();