2012-04-28 14:22:56 +02:00
|
|
|
#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*/
|