mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 00:40:06 +00:00 
			
		
		
		
	GCC doesn't implement <format> yet, use fmt
This commit is contained in:
		
							parent
							
								
									593010acc2
								
							
						
					
					
						commit
						31db9a4315
					
				
					 12 changed files with 27 additions and 28 deletions
				
			
		|  | @ -2,10 +2,10 @@ | |||
| #include <scwx/qt/settings/settings_variable.hpp> | ||||
| #include <scwx/qt/util/color.hpp> | ||||
| 
 | ||||
| #include <format> | ||||
| #include <regex> | ||||
| 
 | ||||
| #include <boost/gil.hpp> | ||||
| #include <fmt/format.h> | ||||
| 
 | ||||
| namespace scwx | ||||
| { | ||||
|  | @ -74,8 +74,8 @@ public: | |||
|       for (auto& alert : kAlertColors_) | ||||
|       { | ||||
|          std::string phenomenonCode = awips::GetPhenomenonCode(alert.first); | ||||
|          std::string activeName     = std::format("{}-active", phenomenonCode); | ||||
|          std::string inactiveName = std::format("{}-inactive", phenomenonCode); | ||||
|          std::string activeName     = fmt::format("{}-active", phenomenonCode); | ||||
|          std::string inactiveName = fmt::format("{}-inactive", phenomenonCode); | ||||
| 
 | ||||
|          auto activeResult = activeAlertColor_.emplace( | ||||
|             alert.first, SettingsVariable<std::string> {activeName}); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat