I would not go as far as calling it bad design.but I wonder if this counts as bad design.
You can add the following, which should apease both compilers:
Qt Code:
deefalut: assert(false); return 0.0; //or -1.0 or what have you that means errorTo copy to clipboard, switch view to plain text mode





Reply With Quote
Bookmarks