mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Fixed CustomComponentConstructor::get_component() (#1653)
Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
This commit is contained in:
		| @@ -16,7 +16,7 @@ class CustomComponentConstructor { | |||||||
|     } |     } | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   Component *get_component(int i) { return this->components_[i]; } |   Component *get_component(int i) const { return this->components_[i]; } | ||||||
|  |  | ||||||
|  protected: |  protected: | ||||||
|   std::vector<Component *> components_; |   std::vector<Component *> components_; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user