mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 00:30:05 +00:00 
			
		
		
		
	use constexpr for things that need them
This commit is contained in:
		
							parent
							
								
									a87cb01935
								
							
						
					
					
						commit
						cb5f5379cb
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -123,8 +123,8 @@ AnimationDockWidget::~AnimationDockWidget() | |||
| void AnimationDockWidgetImpl::UpdateTimeZoneLabel(const zoned_time_ zonedTime) | ||||
| { | ||||
| #if (__cpp_lib_chrono >= 201907L) | ||||
|    namespace df                                        = std; | ||||
|    static const std::string_view kFormatStringTimezone = "{:%Z}"; | ||||
|    namespace df                                            = std; | ||||
|    static constexpr std::string_view kFormatStringTimezone = "{:%Z}"; | ||||
| #else | ||||
|    namespace df                                   = date; | ||||
|    static const std::string kFormatStringTimezone = "%Z"; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AdenKoperczak
						AdenKoperczak