mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:22:45 +00:00 
			
		
		
		
	Kernel: Add missing override specifiers
The `#pragma GCC diagnostic` part is needed because the class has virtual methods with the same name but different arguments, and Clang tries to warn us that we are not actually overriding anything with these. Weirdly enough, GCC does not seem to care.
This commit is contained in:
		
							parent
							
								
									33a341f5e1
								
							
						
					
					
						commit
						b97a00d4b1
					
				
					 10 changed files with 14 additions and 11 deletions
				
			
		|  | @ -132,7 +132,7 @@ public: | |||
| 
 | ||||
|     virtual size_t sharing_devices_count() const override { return 0; } | ||||
|     virtual bool is_shared_handler() const override { return false; } | ||||
|     virtual bool is_sharing_with_others() const { return false; } | ||||
|     virtual bool is_sharing_with_others() const override { return false; } | ||||
|     virtual HandlerType type() const override { return HandlerType::IRQHandler; } | ||||
|     virtual const char* controller() const override { return nullptr; } | ||||
|     virtual bool eoi() override; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Daniel Bertalan
						Daniel Bertalan