OsmAnd/Osmand-kernel/osmand/src/mapObjects.cpp
2012-05-01 00:30:47 +02:00

16 lines
265 B
C++

#ifndef _OSMAND_MAP_OBJECTS
#define _OSMAND_MAP_OBJECTS
#include "common.h"
#include "mapObjects.h"
void deleteObjects(std::vector <MapDataObject* > & v)
{
for(size_t i = 0; i< v.size(); i++)
{
delete v.at(i);
}
v.clear();
}
#endif /*_OSMAND_MAP_OBJECTS*/