| 44 | }; |
| 45 | |
| 46 | struct Bitmap : Image |
| 47 | { |
| 48 | Bitmap(const string& filename) |
| 49 | { |
| 50 | cout << "Loading image from " << filename << endl; |
| 51 | } |
| 52 | |
| 53 | void draw() override |
| 54 | { |
| 55 | cout << "Drawing image" << endl; |
| 56 | } |
| 57 | }; |
| 58 | |
| 59 | struct LazyBitmap : Image |
| 60 | { |
nothing calls this directly
no outgoing calls
no test coverage detected