From 71598cb18dc4a14e1f051deb4ba879b6b908277f Mon Sep 17 00:00:00 2001 From: Mikael Olenfalk Date: Mon, 23 Mar 2020 06:51:59 +0100 Subject: [PATCH] Fix warning: Namespace uses itself --- src/ftxui/dom/border.cpp | 2 -- src/ftxui/dom/frame.cpp | 2 -- src/ftxui/dom/gauge.cpp | 2 -- src/ftxui/dom/spinner.cpp | 2 -- 4 files changed, 8 deletions(-) diff --git a/src/ftxui/dom/border.cpp b/src/ftxui/dom/border.cpp index c22e790..7ef1b6e 100644 --- a/src/ftxui/dom/border.cpp +++ b/src/ftxui/dom/border.cpp @@ -5,8 +5,6 @@ namespace ftxui { -using namespace ftxui; - static wchar_t simple_border_charset[] = L"┌┐└┘─│┬┴┤├"; class Border : public Node { diff --git a/src/ftxui/dom/frame.cpp b/src/ftxui/dom/frame.cpp index 7a96bad..c215775 100644 --- a/src/ftxui/dom/frame.cpp +++ b/src/ftxui/dom/frame.cpp @@ -6,8 +6,6 @@ namespace ftxui { -using namespace ftxui; - // ----------------------------------------------------------------------------- class Select : public Node { diff --git a/src/ftxui/dom/gauge.cpp b/src/ftxui/dom/gauge.cpp index 2f127b9..588cbe0 100644 --- a/src/ftxui/dom/gauge.cpp +++ b/src/ftxui/dom/gauge.cpp @@ -3,8 +3,6 @@ namespace ftxui { -using namespace ftxui; - static wchar_t charset[] = L" ▏▎▍▌▋▊▉█"; class Gauge : public Node { diff --git a/src/ftxui/dom/spinner.cpp b/src/ftxui/dom/spinner.cpp index 64332f6..e4f0c3c 100644 --- a/src/ftxui/dom/spinner.cpp +++ b/src/ftxui/dom/spinner.cpp @@ -3,8 +3,6 @@ namespace ftxui { -using namespace ftxui; - static const std::vector>> elements = { { {L"Replaced by the gauge"},