From f0626342260ada379cd87cd26380222275c929e2 Mon Sep 17 00:00:00 2001 From: ArthurSonzogni Date: Sun, 25 Apr 2021 17:28:16 +0200 Subject: [PATCH] Fix compilation errors on WebAssembly and Windows. --- CMakeLists.txt | 2 +- src/ftxui/dom/reflect.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b2d86b..24214cf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -201,7 +201,7 @@ if (FTXUI_BUILD_TESTS AND ${CMAKE_VERSION} VERSION_GREATER "3.11.4") FetchContent_Declare( googletest GIT_REPOSITORY "https://github.com/google/googletest" - GIT_TAG release-1.10.0 + GIT_TAG 23ef29555ef4789f555f1ba8c51b4c52975f0907 ) FetchContent_GetProperties(googletest) diff --git a/src/ftxui/dom/reflect.cpp b/src/ftxui/dom/reflect.cpp index 10e7194..0ce40e4 100644 --- a/src/ftxui/dom/reflect.cpp +++ b/src/ftxui/dom/reflect.cpp @@ -5,8 +5,6 @@ namespace ftxui { -Box box; - // Helper class. class Reflect : public Node { public: