Skip to content

Commit

Permalink
SOUND: Mark default constructor/destructor in XACT
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Jan 12, 2019
1 parent f00036b commit b2e79e1
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/sound/xactsoundbank.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ namespace Sound {
*/
class XACTSoundBank {
public:
virtual ~XACTSoundBank() { }
XACTSoundBank() = default;
virtual ~XACTSoundBank() = default;

/** Load an XACT SoundBank, of either ASCII or Binary format. */
static XACTSoundBank *load(const Common::UString &name);
Expand Down
1 change: 1 addition & 0 deletions src/sound/xactsoundbank_ascii.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ namespace Sound {
class XACTSoundBank_ASCII : public XACTSoundBank {
public:
XACTSoundBank_ASCII(Common::SeekableReadStream &xsb);
virtual ~XACTSoundBank_ASCII() = default;

private:
void load(Common::SeekableReadStream &xsb);
Expand Down
1 change: 1 addition & 0 deletions src/sound/xactsoundbank_binary.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ namespace Sound {
class XACTSoundBank_Binary : public XACTSoundBank {
public:
XACTSoundBank_Binary(Common::SeekableReadStream &xsb);
virtual ~XACTSoundBank_Binary() = default;

private:
void load(Common::SeekableReadStream &xsb);
Expand Down
3 changes: 2 additions & 1 deletion src/sound/xactwavebank.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ class RewindableAudioStream;
*/
class XACTWaveBank {
public:
virtual ~XACTWaveBank() { }
XACTWaveBank() = default;
virtual ~XACTWaveBank() = default;

/** Return the internal name of the WaveBank. */
virtual const Common::UString &getName() const = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/sound/xactwavebank_ascii.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ namespace Sound {
class XACTWaveBank_ASCII : public XACTWaveBank {
public:
XACTWaveBank_ASCII(Common::SeekableReadStream *xwb);
~XACTWaveBank_ASCII() { }
virtual ~XACTWaveBank_ASCII() = default;

/** Return the internal name of the WaveBank. */
const Common::UString &getName() const override { return _name; }
Expand Down
2 changes: 1 addition & 1 deletion src/sound/xactwavebank_binary.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ namespace Sound {
class XACTWaveBank_Binary : public XACTWaveBank {
public:
XACTWaveBank_Binary(Common::SeekableReadStream *xwb);
~XACTWaveBank_Binary() { }
virtual ~XACTWaveBank_Binary() = default;

/** Return the internal name of the WaveBank. */
const Common::UString &getName() const override { return _name; }
Expand Down

0 comments on commit b2e79e1

Please sign in to comment.