Open darealshinji opened 3 years ago
Instead of calling exit() on an error, can't you just set a flag or something and leave it up to the programmer to decide what to do? Something like this:
elf_parser::Elf_parser elf_parser(file); if (!elf_parser.success()) return 1;
Instead of calling exit() on an error, can't you just set a flag or something and leave it up to the programmer to decide what to do? Something like this: