A few more constexpr additions, and removal of redundant comments.

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3301 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2016-04-02 22:52:29 +00:00
parent abf4a4a44c
commit f431e3e3a5
22 changed files with 1 additions and 128 deletions

View File

@ -44,10 +44,6 @@ class FrameBufferSDL2 : public FrameBuffer
Creates a new SDL2 framebuffer
*/
FrameBufferSDL2(OSystem& osystem);
/**
Destructor
*/
virtual ~FrameBufferSDL2();
//////////////////////////////////////////////////////////////////////

View File

@ -44,10 +44,6 @@ class SoundNull : public Sound
{
myOSystem->logMessage("Sound disabled.\n", 1);
}
/**
Destructor
*/
virtual ~SoundNull() = default;
public:

View File

@ -1,38 +0,0 @@
/* XPM */
static const char * stella_icon[] = {
"32 32 3 1",
" c None",
". c #000000",
"+ c #FFFFFF",
" ",
" ",
" ",
" ",
" .............. ",
" .............. ",
" ..++..++..++.. ",
" ..++..++..++.. ",
" ..++..++..++.. ",
" ..++..++..++.. ",
" ..++..++..++.. ",
" ..++..++..++.. ",
" ..++..++..++.. ",
" ..++..++..++.. ",
" ....++..++..++.... ",
" ....++..++..++.... ",
" ....++++..++..++++.... ",
" ....++++..++..++++.... ",
" ..++++....++....++++.. ",
" ..++++....++....++++.. ",
" ......++......++......++...... ",
" ......++......++......++...... ",
" ..++++++.. ..++.. ..++++++.. ",
" ..++++++.. ..++.. ..++++++.. ",
" ..++++.... ..++.. ....++++.. ",
" ..++++.... ..++.. ....++++.. ",
" ........ ...... ........ ",
" ........ ...... ........ ",
" ",
" ",
" ",
" "};

View File

@ -46,10 +46,6 @@ class Cartridge0840 : public Cartridge
@param settings A reference to the various settings (read-only)
*/
Cartridge0840(const uInt8* image, uInt32 size, const Settings& settings);
/**
Destructor
*/
virtual ~Cartridge0840() = default;
public:

View File

@ -27,7 +27,7 @@
#define CHETIRY_TUNES_SIZE 7 * 4096
static const uInt8 CartCTYTunes[CHETIRY_TUNES_SIZE] = {
static constexpr uInt8 CartCTYTunes[CHETIRY_TUNES_SIZE] = {
///////////////////////////
// Tune 1
///////////////////////////

View File

@ -71,10 +71,6 @@ class Console : public Serializable
*/
Console(OSystem& osystem, unique_ptr<Cartridge>& cart,
const Properties& props);
/**
Destructor
*/
virtual ~Console();
public:

View File

@ -35,14 +35,7 @@ class System;
class Device : public Serializable
{
public:
/**
Create a new device
*/
Device() : mySystem(nullptr) { }
/**
Destructor
*/
virtual ~Device() = default;
public:

View File

@ -285,10 +285,6 @@ class AbstractFSNode
// AbstractFSNode(AbstractFSNode&&) = default;
AbstractFSNode& operator=(const AbstractFSNode&) = default;
// AbstractFSNode& operator=(AbstractFSNode&&) = default;
/**
* Destructor.
*/
virtual ~AbstractFSNode() { }
/*

View File

@ -51,10 +51,6 @@ class KidVid : public Controller
*/
KidVid(Jack jack, const Event& event, const System& system,
const string& md5sum);
/**
Destructor
*/
virtual ~KidVid();
public:

View File

@ -43,10 +43,6 @@ class MT24LC256
@param system The system using the controller of this device
*/
MT24LC256(const string& filename, const System& system);
/**
Destructor
*/
~MT24LC256();
public:

View File

@ -36,14 +36,7 @@ class System;
class NullDevice : public Device
{
public:
/**
Create a new null device
*/
NullDevice() = default;
/**
Destructor
*/
virtual ~NullDevice() = default;
public:

View File

@ -63,14 +63,7 @@ class OSystem
friend class VideoDialog;
public:
/**
Create a new OSystem abstract class
*/
OSystem();
/**
Destructor
*/
virtual ~OSystem();
/**

View File

@ -38,10 +38,6 @@ class CommandMenu : public DialogContainer
Create a new menu stack
*/
CommandMenu(OSystem& osystem);
/**
Destructor
*/
virtual ~CommandMenu() = default;
private:

View File

@ -49,10 +49,6 @@ class DialogContainer
Create a new DialogContainer stack
*/
DialogContainer(OSystem& osystem);
/**
Destructor
*/
virtual ~DialogContainer();
public:

View File

@ -40,10 +40,6 @@ class Launcher : public DialogContainer
Create a new menu stack
*/
Launcher(OSystem& osystem);
/**
Destructor
*/
virtual ~Launcher() = default;
/**

View File

@ -37,10 +37,6 @@ class Menu : public DialogContainer
Create a new menu stack
*/
Menu(OSystem& osystem);
/**
Destructor
*/
virtual ~Menu() = default;
private:

View File

@ -35,10 +35,6 @@ class OSystemMACOSX : public OSystem
Create a new MACOSX-specific operating system object
*/
OSystemMACOSX();
/**
Destructor
*/
virtual ~OSystemMACOSX() = default;
/**

View File

@ -37,10 +37,6 @@ class SettingsMACOSX : public Settings
Create a new UNIX settings object
*/
SettingsMACOSX(OSystem& osystem);
/**
Destructor
*/
virtual ~SettingsMACOSX() = default;
public:

View File

@ -35,10 +35,6 @@ class OSystemUNIX : public OSystem
Create a new UNIX-specific operating system object
*/
OSystemUNIX();
/**
Destructor
*/
virtual ~OSystemUNIX() = default;
private:

View File

@ -37,10 +37,6 @@ class SettingsUNIX : public Settings
Create a new UNIX settings object
*/
SettingsUNIX(OSystem& osystem);
/**
Destructor
*/
virtual ~SettingsUNIX() = default;
private:

View File

@ -35,10 +35,6 @@ class OSystemWINDOWS : public OSystem
Create a new WINDOWS operating system object
*/
OSystemWINDOWS();
/**
Destructor
*/
virtual ~OSystemWINDOWS() = default;
public:

View File

@ -31,10 +31,6 @@ class SettingsWINDOWS : public Settings
Create a new UNIX settings object
*/
SettingsWINDOWS(OSystem& osystem);
/**
Destructor
*/
virtual ~SettingsWINDOWS() = default;
private: