Your task is to find all bugs in this code.
Try to find as many bugs as you can.
Minimize your changes, no rewrites necessary.
And keep an eye on code style and potential memory issues!
Requirements:
- You are only allowed to change the code in the PrimeVector class (header + source file)
Expected output:
2
3
5
7
11
13
17
19
23
29
31
Happy coding!