General: Remove unnecessary semicolons

This commit is contained in:
Lioncash 2017-07-30 15:56:12 -04:00
parent 2ea7ffc94a
commit f6c21e002b
19 changed files with 20 additions and 22 deletions

View File

@ -13,7 +13,7 @@
class TraversalClientClient
{
public:
virtual ~TraversalClientClient(){};
virtual ~TraversalClientClient() = default;
virtual void OnTraversalStateChanged() = 0;
virtual void OnConnectReady(ENetAddress addr) = 0;
virtual void OnConnectFailed(u8 reason) = 0;

View File

@ -46,8 +46,7 @@ public:
~WiimoteScannerLinux() override;
bool IsReady() const override;
void FindWiimotes(std::vector<Wiimote*>&, Wiimote*&) override;
void Update() override{}; // not needed on Linux
void Update() override {} // not needed on Linux
private:
int m_device_id;
int m_device_sock;

View File

@ -996,4 +996,4 @@ bool ForgetWiimote(BLUETOOTH_DEVICE_INFO_STRUCT& btdi)
return false;
}
};
}

View File

@ -16,7 +16,7 @@ public:
~WiimoteScannerDarwin() override = default;
bool IsReady() const override;
void FindWiimotes(std::vector<Wiimote*>&, Wiimote*&) override;
void Update() override{}; // not needed
void Update() override {} // not needed
};
}

View File

@ -37,7 +37,7 @@ public:
~WiimoteScannerHidapi();
bool IsReady() const override;
void FindWiimotes(std::vector<Wiimote*>&, Wiimote*&) override;
void Update() override{}; // not needed for hidapi
void Update() override {} // not needed for hidapi
};
}

View File

@ -116,7 +116,7 @@ public:
JitBase();
~JitBase() override;
static const u8* Dispatch() { return g_jit->GetBlockCache()->Dispatch(); };
static const u8* Dispatch() { return g_jit->GetBlockCache()->Dispatch(); }
virtual JitBaseBlockCache* GetBlockCache() = 0;
virtual void Jit(u32 em_address) = 0;

View File

@ -11,7 +11,7 @@ namespace Config
{
template <typename T>
struct ConfigInfo;
};
}
class GraphicsBool : public QCheckBox
{

View File

@ -10,7 +10,7 @@ namespace Config
{
template <typename T>
struct ConfigInfo;
};
}
class GraphicsChoice : public QComboBox
{

View File

@ -10,7 +10,7 @@ namespace Config
{
template <typename T>
struct ConfigInfo;
};
}
class GraphicsSlider : public QSlider
{

View File

@ -12,7 +12,7 @@ class MappingWidget;
namespace ControllerEmu
{
class NumericSetting;
};
}
class MappingNumeric : public QSpinBox
{

View File

@ -116,4 +116,4 @@ void PerformOnlineUpdate(const std::string& region, QWidget* parent)
break;
}
}
}; // namespace WiiUpdate
} // namespace WiiUpdate

View File

@ -11,4 +11,4 @@ class QWidget;
namespace WiiUpdate
{
void PerformOnlineUpdate(const std::string& region, QWidget* parent = nullptr);
}; // namespace WiiUpdate
} // namespace WiiUpdate

View File

@ -27,7 +27,7 @@ private:
std::array<u16, 32> m_CachedRegs{};
std::array<bool, 32> m_CachedRegHasChanged{};
DECLARE_NO_COPY_CLASS(CDSPRegTable);
DECLARE_NO_COPY_CLASS(CDSPRegTable)
};
class DSPRegisterView final : public wxGrid

View File

@ -30,7 +30,7 @@ private:
std::array<u32, MAX_SPECIALS> m_CachedWatch;
std::array<bool, MAX_SPECIALS> m_CachedWatchHasChanged;
DECLARE_NO_COPY_CLASS(CWatchTable);
DECLARE_NO_COPY_CLASS(CWatchTable)
};
class CWatchView : public wxGrid

View File

@ -366,5 +366,5 @@ private:
bool InitControllers();
// Event table
DECLARE_EVENT_TABLE();
DECLARE_EVENT_TABLE()
};

View File

@ -59,7 +59,7 @@ public:
virtual ~CISOProperties();
private:
DECLARE_EVENT_TABLE();
DECLARE_EVENT_TABLE()
std::unique_ptr<DiscIO::Volume> m_open_iso;

View File

@ -26,7 +26,7 @@ public:
~CMemcardManager();
private:
DECLARE_EVENT_TABLE();
DECLARE_EVENT_TABLE()
std::array<int, 2> page;
int itemsPerPage;

View File

@ -26,8 +26,7 @@ public:
void RenderText(const std::string& pstr, int left, int top, u32 color) override;
u32 AccessEFB(EFBAccessType type, u32 x, u32 y, u32 poke_data) override;
void PokeEFB(EFBAccessType type, const EfbPokeData* points, size_t num_points) override{};
void PokeEFB(EFBAccessType type, const EfbPokeData* points, size_t num_points) override {}
u16 BBoxRead(int index) override;
void BBoxWrite(int index, u16 value) override;

View File

@ -40,9 +40,9 @@ public:
{
memset(EfbInterface::perf_values, 0, sizeof(EfbInterface::perf_values));
}
u32 GetQueryResult(PerfQueryType type) override { return EfbInterface::perf_values[type]; };
u32 GetQueryResult(PerfQueryType type) override { return EfbInterface::perf_values[type]; }
void FlushResults() override {}
bool IsFlushed() const override { return true; };
bool IsFlushed() const override { return true; }
};
class TextureCache : public TextureCacheBase