mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Merge pull request #13022 from tygyh/Remove-redundant-semicolons
Remove redundant semicolons
This commit is contained in:
@@ -312,7 +312,7 @@ class BitFieldArrayConstRef
|
||||
friend class BitFieldArrayConstIterator<position, bits, size, T, S>;
|
||||
|
||||
public:
|
||||
constexpr T Value() const { return m_array->Value(m_index); };
|
||||
constexpr T Value() const { return m_array->Value(m_index); }
|
||||
constexpr operator T() const { return Value(); }
|
||||
|
||||
private:
|
||||
@@ -333,7 +333,7 @@ class BitFieldArrayRef
|
||||
friend class BitFieldArrayIterator<position, bits, size, T, S>;
|
||||
|
||||
public:
|
||||
constexpr T Value() const { return m_array->Value(m_index); };
|
||||
constexpr T Value() const { return m_array->Value(m_index); }
|
||||
constexpr operator T() const { return Value(); }
|
||||
T operator=(const BitFieldArrayRef<position, bits, size, T, S>& value) const
|
||||
{
|
||||
|
||||
@@ -261,4 +261,4 @@ int __cdecl EnableCompatPatches()
|
||||
extern "C" {
|
||||
__declspec(allocate(".CRT$XCZ")) decltype(&EnableCompatPatches)
|
||||
enableCompatPatches = EnableCompatPatches;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
namespace Core
|
||||
{
|
||||
class CPUThreadGuard;
|
||||
};
|
||||
}
|
||||
|
||||
namespace Common::Debug
|
||||
{
|
||||
|
||||
@@ -78,7 +78,7 @@ public:
|
||||
{
|
||||
static LdrDllNotifier notifier;
|
||||
return notifier;
|
||||
};
|
||||
}
|
||||
void Install(LdrObserver* observer);
|
||||
void Uninstall(LdrObserver* observer);
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ public:
|
||||
private:
|
||||
Profiler* m_p;
|
||||
};
|
||||
}; // namespace Common
|
||||
} // namespace Common
|
||||
|
||||
// Warning: This profiler isn't thread safe. Only profile functions which doesn't run simultaneously
|
||||
#define PROFILE(name) \
|
||||
|
||||
@@ -195,7 +195,7 @@ std::from_chars_result FromChars(std::string_view sv, T& value,
|
||||
const char* const last = first + sv.size();
|
||||
return std::from_chars(first, last, value, fmt);
|
||||
}
|
||||
}; // namespace Common
|
||||
} // namespace Common
|
||||
|
||||
std::string TabsToSpaces(int tab_size, std::string str);
|
||||
|
||||
|
||||
@@ -69,4 +69,4 @@ OSVERSIONINFOW GetOSVersion()
|
||||
}
|
||||
return info;
|
||||
}
|
||||
}; // namespace WindowsRegistry
|
||||
} // namespace WindowsRegistry
|
||||
|
||||
@@ -15,4 +15,4 @@ template <>
|
||||
bool ReadValue(std::string* value, const std::string& subkey, const std::string& name);
|
||||
|
||||
OSVERSIONINFOW GetOSVersion();
|
||||
}; // namespace WindowsRegistry
|
||||
} // namespace WindowsRegistry
|
||||
|
||||
@@ -170,7 +170,7 @@ private:
|
||||
|
||||
void FetchBoardInfo(AchievementId leaderboard_id);
|
||||
|
||||
std::unique_ptr<DiscIO::Volume>& GetLoadingVolume() { return m_loading_volume; };
|
||||
std::unique_ptr<DiscIO::Volume>& GetLoadingVolume() { return m_loading_volume; }
|
||||
|
||||
static void LoadGameCallback(int result, const char* error_message, rc_client_t* client,
|
||||
void* userdata);
|
||||
|
||||
@@ -18,7 +18,7 @@ class IniFile;
|
||||
namespace Core
|
||||
{
|
||||
class CPUThreadGuard;
|
||||
};
|
||||
}
|
||||
|
||||
namespace ActionReplay
|
||||
{
|
||||
|
||||
@@ -24,7 +24,7 @@ public:
|
||||
|
||||
bool IsValid() const override { return m_is_valid; }
|
||||
bool IsWii() const override { return m_is_wii; }
|
||||
bool IsAncast() const { return m_is_ancast; };
|
||||
bool IsAncast() const { return m_is_ancast; }
|
||||
u32 GetEntryPoint() const override { return m_dolheader.entryPoint; }
|
||||
bool LoadIntoMemory(Core::System& system, bool only_in_mem1 = false) const override;
|
||||
bool LoadSymbols(const Core::CPUThreadGuard& guard, PPCSymbolDB& ppc_symbol_db) const override
|
||||
|
||||
@@ -38,7 +38,7 @@ void OnConfigChanged()
|
||||
}
|
||||
}
|
||||
|
||||
}; // namespace
|
||||
} // namespace
|
||||
|
||||
namespace CPUThreadConfigCallback
|
||||
{
|
||||
@@ -73,4 +73,4 @@ void CheckForConfigChanges()
|
||||
RunCallbacks();
|
||||
}
|
||||
|
||||
}; // namespace CPUThreadConfigCallback
|
||||
} // namespace CPUThreadConfigCallback
|
||||
|
||||
@@ -27,4 +27,4 @@ void RemoveConfigChangedCallback(ConfigChangedCallbackID callback_id);
|
||||
// Should be called regularly from the CPU thread
|
||||
void CheckForConfigChanges();
|
||||
|
||||
}; // namespace CPUThreadConfigCallback
|
||||
} // namespace CPUThreadConfigCallback
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
namespace Core
|
||||
{
|
||||
class CPUThreadGuard;
|
||||
};
|
||||
}
|
||||
|
||||
namespace Cheats
|
||||
{
|
||||
|
||||
@@ -142,7 +142,7 @@ public:
|
||||
m_collection_pf.size();
|
||||
}
|
||||
std::size_t GetBlacklistSize() const { return m_blacklist_size; }
|
||||
Phase GetRecordingPhase() const { return m_recording_phase; };
|
||||
Phase GetRecordingPhase() const { return m_recording_phase; }
|
||||
|
||||
// An empty selection in reduction mode can't be reconstructed when loading from a file.
|
||||
bool CanSave() const { return !(m_recording_phase == Phase::Reduction && m_selection.empty()); }
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
namespace Core
|
||||
{
|
||||
class CPUThreadGuard;
|
||||
};
|
||||
}
|
||||
|
||||
namespace Core::Debug
|
||||
{
|
||||
|
||||
@@ -16,7 +16,7 @@ class PPCSymbolDB;
|
||||
namespace Core
|
||||
{
|
||||
class CPUThreadGuard;
|
||||
};
|
||||
}
|
||||
|
||||
struct RSOEntry
|
||||
{
|
||||
|
||||
@@ -14,7 +14,7 @@ class PointerWrap;
|
||||
namespace Core
|
||||
{
|
||||
class CPUThreadGuard;
|
||||
};
|
||||
}
|
||||
|
||||
namespace Gecko
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
namespace Core
|
||||
{
|
||||
class CPUThreadGuard;
|
||||
};
|
||||
}
|
||||
|
||||
namespace HLE_Misc
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
namespace Core
|
||||
{
|
||||
class CPUThreadGuard;
|
||||
};
|
||||
}
|
||||
|
||||
namespace HLE_OS
|
||||
{
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user