[libgens] EmuContext: Mark overridden functions correctly.
authorDavid Korth <gerbilsoft@gerbilsoft.com>
Sat, 5 Sep 2015 03:51:39 +0000 (23:51 -0400)
committerDavid Korth <gerbilsoft@gerbilsoft.com>
Sat, 5 Sep 2015 03:51:39 +0000 (23:51 -0400)
commitd21b4120d6296aff4980e32d0cd423dd207ed1c5
treead6063c46e408ef9dcfa995e3b49e27bfe5d4006
parent3481007f8be6090130d51e4d8a4f4296c2147208
[libgens] EmuContext: Mark overridden functions correctly.

Changed all overridden functions in EmuMD and EmuPico to final.
I'm pretty sure EmuMCD and Emu32X won't be deriving from EmuMD
directly, especially since EmuPico isn't.

This was found by running a build with clang-3.7.0, which printed
warnings similar to the following:

[ 33%] Building CXX object src/libgens/CMakeFiles/gens.dir/cpu/M68K_Mem.cpp.o
In file included from src/libgens/cpu/M68K_Mem.cpp:42:
src/libgens/EmuContext/EmuMD.hpp:51:7: warning: 'softReset' overrides a member function
      but is not marked 'override' [-Winconsistent-missing-override]
                int softReset(void);
                    ^
src/libgens/EmuContext/EmuContext.hpp:82:15: note: overridden virtual function is here
                virtual int softReset(void) = 0;
                            ^
In file included from /home/d
src/libgens/EmuContext/EmuMD.hpp
src/libgens/EmuContext/EmuPico.hpp