mirror of
				https://github.com/ArthurSonzogni/FTXUI.git
				synced 2025-11-01 02:58:12 +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) | ||||
|  | ||||
| target_link_libraries(dom PUBLIC screen) | ||||
| target_link_libraries(component PUBLIC dom) | ||||
| target_link_libraries(component PUBLIC Threads::Threads) | ||||
| target_link_libraries(component PUBLIC dom Threads::Threads) | ||||
|  | ||||
| foreach(lib screen dom component) | ||||
|   target_include_directories(${lib} | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| #include <type_traits> | ||||
|  | ||||
| template <class T> | ||||
| void Merge(Elements& container, T t) {} | ||||
| void Merge(Elements&, T) {} | ||||
|  | ||||
| template <> | ||||
| inline void Merge(Elements& container, Element element) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 ArthurSonzogni
					ArthurSonzogni