ソースを参照

Remove extraneous semicolons

Lioncash 11 年 前
コミット
1a8f466217

+ 1 - 1
src/common/symbols.h

@@ -33,5 +33,5 @@ namespace Symbols
     const std::string GetName(u32 _address);
     void Remove(u32 _address);
     void Clear();
-};
+}
 

+ 1 - 1
src/common/thread.h

@@ -36,7 +36,7 @@ class Event
 public:
     Event()
         : is_set(false)
-    {};
+    {}
 
     void Set()
     {

+ 1 - 1
src/core/core_timing.h

@@ -106,4 +106,4 @@ void SetClockFrequencyMHz(int cpuMhz);
 int GetClockFrequencyMHz();
 extern int slicelength;
 
-}; // namespace
+} // namespace

+ 1 - 1
src/core/file_sys/archive_romfs.cpp

@@ -41,7 +41,7 @@ std::unique_ptr<File> Archive_RomFS::OpenFile(const Path& path, const Mode mode)
 bool Archive_RomFS::CreateDirectory(const Path& path) const {
     ERROR_LOG(FILESYS, "Attempted to create a directory in ROMFS.");
     return false;
-};
+}
 
 /**
  * Open a directory specified by its path

+ 1 - 1
src/core/file_sys/archive_romfs.h

@@ -26,7 +26,7 @@ public:
      * Get the IdCode of the archive (e.g. RomFS, SaveData, etc.)
      * @return IdCode of the archive
      */
-    IdCode GetIdCode() const override { return IdCode::RomFS; };
+    IdCode GetIdCode() const override { return IdCode::RomFS; }
 
     /**
      * Open a file specified by its path, using the specified mode

+ 1 - 1
src/core/file_sys/archive_sdmc.h

@@ -30,7 +30,7 @@ public:
      * Get the IdCode of the archive (e.g. RomFS, SaveData, etc.)
      * @return IdCode of the archive
      */
-    IdCode GetIdCode() const override { return IdCode::SDMC; };
+    IdCode GetIdCode() const override { return IdCode::SDMC; }
 
     /**
      * Open a file specified by its path, using the specified mode

+ 1 - 1
src/core/hle/kernel/kernel.h

@@ -87,7 +87,7 @@ public:
             delete pool[handle - HANDLE_OFFSET];
         }
         return error;
-    };
+    }
 
     bool IsValid(Handle handle);
 

+ 1 - 1
src/core/system.h

@@ -30,4 +30,4 @@ void RunLoopFor(int cycles);
 void RunLoopUntil(u64 global_cycles);
 void Shutdown();
 
-};
+}