René Meyer
Results
1
comments of
René Meyer
Does erase not only remove the MqttClient pointer from the vector? See also [https://forum.openframeworks.cc/t/delete-objects-from-std-vector-elements-and-delete-the-objects-itself-also/19167/4](https://forum.openframeworks.cc/t/delete-objects-from-std-vector-elements-and-delete-the-objects-itself-also/19167/4) ``` void MqttBroker::removeClient(MqttClient* remove) { for(auto it=clients.begin(); it!=clients.end(); it++) { auto client=*it; if (client==remove) { //...