diff options
| author | Tilka <tilkax@gmail.com> | 2024-08-21 01:52:16 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-21 01:52:16 +0100 |
| commit | 7b8b733b11b18875cb702615dfabb852db024d52 (patch) | |
| tree | aac1bcc5de72be1637b5f64e3d39a73df8d9d450 /Source/Core/Common | |
| parent | 44f1a7586565307155b329d911a57fbf65785a57 (diff) | |
| parent | 9602f36248edec803275128a0a327e3355f9472d (diff) | |
Merge pull request #13022 from tygyh/Remove-redundant-semicolons
Remove redundant semicolons
Diffstat (limited to 'Source/Core/Common')
| -rw-r--r-- | Source/Core/Common/BitField.h | 4 | ||||
| -rw-r--r-- | Source/Core/Common/CompatPatches.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/Common/Debug/Threads.h | 2 | ||||
| -rw-r--r-- | Source/Core/Common/LdrWatcher.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/Common/Profiler.h | 2 | ||||
| -rw-r--r-- | Source/Core/Common/StringUtil.h | 2 | ||||
| -rw-r--r-- | Source/Core/Common/WindowsRegistry.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/Common/WindowsRegistry.h | 2 |
8 files changed, 9 insertions, 9 deletions
diff --git a/Source/Core/Common/BitField.h b/Source/Core/Common/BitField.h index 68c0577fb2..bbd40f5414 100644 --- a/Source/Core/Common/BitField.h +++ b/Source/Core/Common/BitField.h @@ -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 { diff --git a/Source/Core/Common/CompatPatches.cpp b/Source/Core/Common/CompatPatches.cpp index 5b99658665..aeb509f4ab 100644 --- a/Source/Core/Common/CompatPatches.cpp +++ b/Source/Core/Common/CompatPatches.cpp @@ -261,4 +261,4 @@ int __cdecl EnableCompatPatches() extern "C" { __declspec(allocate(".CRT$XCZ")) decltype(&EnableCompatPatches) enableCompatPatches = EnableCompatPatches; -}; +} diff --git a/Source/Core/Common/Debug/Threads.h b/Source/Core/Common/Debug/Threads.h index e9aef96d26..ce50e945c1 100644 --- a/Source/Core/Common/Debug/Threads.h +++ b/Source/Core/Common/Debug/Threads.h @@ -14,7 +14,7 @@ namespace Core { class CPUThreadGuard; -}; +} namespace Common::Debug { diff --git a/Source/Core/Common/LdrWatcher.cpp b/Source/Core/Common/LdrWatcher.cpp index 4e3fb88ba5..a0db0b61c6 100644 --- a/Source/Core/Common/LdrWatcher.cpp +++ b/Source/Core/Common/LdrWatcher.cpp @@ -78,7 +78,7 @@ public: { static LdrDllNotifier notifier; return notifier; - }; + } void Install(LdrObserver* observer); void Uninstall(LdrObserver* observer); diff --git a/Source/Core/Common/Profiler.h b/Source/Core/Common/Profiler.h index 753c06fd38..b0255b1ce7 100644 --- a/Source/Core/Common/Profiler.h +++ b/Source/Core/Common/Profiler.h @@ -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) \ diff --git a/Source/Core/Common/StringUtil.h b/Source/Core/Common/StringUtil.h index 1699d9fa2f..c1eaf94ad4 100644 --- a/Source/Core/Common/StringUtil.h +++ b/Source/Core/Common/StringUtil.h @@ -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); diff --git a/Source/Core/Common/WindowsRegistry.cpp b/Source/Core/Common/WindowsRegistry.cpp index 4b6f1f2c24..2eb1ae9b9c 100644 --- a/Source/Core/Common/WindowsRegistry.cpp +++ b/Source/Core/Common/WindowsRegistry.cpp @@ -69,4 +69,4 @@ OSVERSIONINFOW GetOSVersion() } return info; } -}; // namespace WindowsRegistry +} // namespace WindowsRegistry diff --git a/Source/Core/Common/WindowsRegistry.h b/Source/Core/Common/WindowsRegistry.h index 8a4705e7fe..ef789a98ca 100644 --- a/Source/Core/Common/WindowsRegistry.h +++ b/Source/Core/Common/WindowsRegistry.h @@ -15,4 +15,4 @@ template <> bool ReadValue(std::string* value, const std::string& subkey, const std::string& name); OSVERSIONINFOW GetOSVersion(); -}; // namespace WindowsRegistry +} // namespace WindowsRegistry |
