Make FTXUI compatible with clang warnings.

This commit is contained in:
ArthurSonzogni 2020-02-15 20:41:44 +01:00
parent 6ef9f56da7
commit 1e35687d64
2 changed files with 2 additions and 3 deletions

View File

@ -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}

View File

@ -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) {