mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	[time] fix clang-tidy (#9292)
This commit is contained in:
		| @@ -40,7 +40,7 @@ class RealTimeClock : public PollingComponent { | ||||
|   /// Get the current time as the UTC epoch since January 1st 1970. | ||||
|   time_t timestamp_now() { return ::time(nullptr); } | ||||
|  | ||||
|   void add_on_time_sync_callback(std::function<void()> callback) { | ||||
|   void add_on_time_sync_callback(std::function<void()> &&callback) { | ||||
|     this->time_sync_callback_.add(std::move(callback)); | ||||
|   }; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user