Codechange: Ensure function opening { is on new line.

This commit is contained in:
Peter Nelson
2023-11-09 19:20:41 +00:00
committed by Peter Nelson
parent 1de1af08b9
commit d4008850e3
22 changed files with 64 additions and 32 deletions

View File

@@ -71,7 +71,8 @@ struct DLSFile {
WSMPL wave_sample;
std::vector<WLOOP> wave_loops;
bool operator ==(long offset) const {
bool operator ==(long offset) const
{
return this->file_offset == offset;
}
};

View File

@@ -43,7 +43,8 @@ public:
/**
* Get the currently active instance of the music driver.
*/
static MusicDriver *GetInstance() {
static MusicDriver *GetInstance()
{
return static_cast<MusicDriver*>(*DriverFactoryBase::GetActiveDriver(Driver::DT_MUSIC));
}
};