OsmAnd/Osmand-kernel/osmand/src/mapObjects.cpp

17 lines
265 B
C++
Raw Normal View History

#ifndef _OSMAND_MAP_OBJECTS
2011-10-29 16:57:27 +02:00
#define _OSMAND_MAP_OBJECTS
#include "common.h"
#include "mapObjects.h"
2012-04-17 23:56:41 +02:00
void deleteObjects(std::vector <MapDataObject* > & v)
2011-10-29 16:57:27 +02:00
{
for(size_t i = 0; i< v.size(); i++)
{
delete v.at(i);
}
v.clear();
}
#endif /*_OSMAND_MAP_OBJECTS*/