Make indexer_tests/feature_routine.cpp clean after itself!

This commit is contained in:
Yury Melnichek 2011-01-04 16:21:26 +01:00 committed by Alex Zolotarev
parent a7566208e7
commit 9b0405dac2

View file

@ -26,6 +26,9 @@ void FeatureBuilder2Feature(FeatureBuilderGeomRef const & fb, FeatureGeomRef & f
static FeatureGeomRef::read_source_t g_source(FileReader(datFile + ".geom"), FileReader(datFile + ".trg"));
g_source.m_data.swap(buffers.m_buffers[0]);
f.Deserialize(g_source);
FileWriter::DeleteFile(datFile + ".geom");
FileWriter::DeleteFile(datFile + ".trg");
}
void Feature2FeatureBuilder(FeatureGeomRef const & f, FeatureBuilderGeomRef & fb)