mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-22 18:59:59 +08:00
Make FTXUI compatible with clang warnings.
This commit is contained in:
parent
6ef9f56da7
commit
1e35687d64
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user