okay. There was the error. I had a Line called:
void addAufgabe(Aufgabe aufg);

The error disappear when i changed the line to:
void addAufgabe(Aufgabe* aufg);


Thanks for the hint.