Assertion::Assertion(const Assertion &a) { msg_m = new char[strlen(a.what())+1]; strcpy(msg_m, a.what()); file_m = new char[strlen(a.file())+1]; strcpy(file_m, a.file()); line_m = a.line(); }