void Geolocation::copyToSet(const GeoNotifierVector& src, GeoNotifierSet& dest) { GeoNotifierVector::const_iterator end = src.end(); for (GeoNotifierVector::const_iterator it = src.begin(); it != end; ++it) { GeoNotifier* notifier = it->get(); dest.add(notifier); } }
void Geolocation::copyToSet(const GeoNotifierVector& src, GeoNotifierSet& dest) { for (auto& notifier : src) dest.add(notifier.get()); }
void Geolocation::copyToSet(const GeoNotifierVector& src, GeoNotifierSet& dest) { for (GeoNotifier* notifier : src) dest.add(notifier); }