mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	Add override keyword through the code.
				
					
				
			This was automated using `clang-modernize`.
This commit is contained in:
		
							parent
							
								
									da564d3fe0
								
							
						
					
					
						commit
						d72708c1f5
					
				
					 23 changed files with 87 additions and 87 deletions
				
			
		|  | @ -90,10 +90,10 @@ public: | |||
|         parent_ = parent; | ||||
|     } | ||||
| 
 | ||||
|     void paintEvent(QPaintEvent* ev) | ||||
|     void paintEvent(QPaintEvent* ev) override | ||||
|     { | ||||
|     } | ||||
|     void resizeEvent(QResizeEvent* ev) { | ||||
|     void resizeEvent(QResizeEvent* ev) override { | ||||
|         parent_->SetClientAreaWidth(size().width()); | ||||
|         parent_->SetClientAreaHeight(size().height()); | ||||
|     } | ||||
|  |  | |||
|  | @ -25,7 +25,7 @@ public: | |||
|      * | ||||
|      * @warning Only call when not running! | ||||
|      */ | ||||
|     void run(); | ||||
|     void run() override; | ||||
| 
 | ||||
|     /**
 | ||||
|      * Allow the CPU to process a single instruction (if cpu is not running) | ||||
|  | @ -89,13 +89,13 @@ public: | |||
|     GRenderWindow(QWidget* parent = NULL); | ||||
|     ~GRenderWindow(); | ||||
| 
 | ||||
|     void closeEvent(QCloseEvent*); | ||||
|     void closeEvent(QCloseEvent*) override; | ||||
| 
 | ||||
|     // EmuWindow implementation
 | ||||
|     void SwapBuffers(); | ||||
|     void MakeCurrent(); | ||||
|     void DoneCurrent(); | ||||
|     void PollEvents(); | ||||
|     void SwapBuffers() override; | ||||
|     void MakeCurrent() override; | ||||
|     void DoneCurrent() override; | ||||
|     void PollEvents() override; | ||||
| 
 | ||||
|     void BackupGeometry(); | ||||
|     void RestoreGeometry(); | ||||
|  | @ -104,8 +104,8 @@ public: | |||
| 
 | ||||
|     EmuThread& GetEmuThread(); | ||||
| 
 | ||||
|     void keyPressEvent(QKeyEvent* event); | ||||
|     void keyReleaseEvent(QKeyEvent* event); | ||||
|     void keyPressEvent(QKeyEvent* event) override; | ||||
|     void keyReleaseEvent(QKeyEvent* event) override; | ||||
| 
 | ||||
|     void ReloadSetKeymaps() override; | ||||
| 
 | ||||
|  |  | |||
|  | @ -17,7 +17,7 @@ class GPUCommandListModel : public QAbstractListModel | |||
| public: | ||||
|     GPUCommandListModel(QObject* parent); | ||||
| 
 | ||||
|     int columnCount(const QModelIndex& parent = QModelIndex()) const; | ||||
|     int columnCount(const QModelIndex& parent = QModelIndex()) const override; | ||||
|     int rowCount(const QModelIndex& parent = QModelIndex()) const override; | ||||
|     QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; | ||||
| 
 | ||||
|  |  | |||
|  | @ -32,7 +32,7 @@ public: | |||
| private: | ||||
|     void BootGame(std::string filename); | ||||
| 
 | ||||
|     void closeEvent(QCloseEvent* event); | ||||
|     void closeEvent(QCloseEvent* event) override; | ||||
| 
 | ||||
| private slots: | ||||
|     void OnStartGame(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue