no copies objetos payaso

This commit is contained in:
Hane 2023-02-11 03:12:45 +01:00
commit 08a9a76aae
5 changed files with 20 additions and 18 deletions

View file

@ -24,7 +24,7 @@ QApplication* createApplication(int &argc, char *argv[])
int main (int argc, char* argv[]) {
//QApplication::setStyle("windowsvista");
//INIT CONT
std::vector<Endpoint*> epts = OverseerHandler::getOverseer().getPlaybackEndpoints();
std::vector<Endpoint*> epts = OverseerHandler::getOverseer()->getPlaybackEndpoints();
std::vector<EndpointHandler*>* ephs = new std::vector<EndpointHandler*>;
for(unsigned int i = 0; i < epts.size(); i++){
EndpointHandler *eph = new EndpointHandler(epts.at(i));