mirror of
				https://github.com/ArthurSonzogni/FTXUI.git
				synced 2025-10-31 18:48:11 +08:00 
			
		
		
		
	Make FTXUI compatible with clang warnings.
This commit is contained in:
		| @@ -65,8 +65,7 @@ add_library(ftxui::dom ALIAS dom) | |||||||
| add_library(ftxui::component ALIAS component) | add_library(ftxui::component ALIAS component) | ||||||
|  |  | ||||||
| target_link_libraries(dom PUBLIC screen) | target_link_libraries(dom PUBLIC screen) | ||||||
| target_link_libraries(component PUBLIC dom) | target_link_libraries(component PUBLIC dom Threads::Threads) | ||||||
| target_link_libraries(component PUBLIC Threads::Threads) |  | ||||||
|  |  | ||||||
| foreach(lib screen dom component) | foreach(lib screen dom component) | ||||||
|   target_include_directories(${lib} |   target_include_directories(${lib} | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| #include <type_traits> | #include <type_traits> | ||||||
|  |  | ||||||
| template <class T> | template <class T> | ||||||
| void Merge(Elements& container, T t) {} | void Merge(Elements&, T) {} | ||||||
|  |  | ||||||
| template <> | template <> | ||||||
| inline void Merge(Elements& container, Element element) { | inline void Merge(Elements& container, Element element) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 ArthurSonzogni
					ArthurSonzogni