Execute IWYU

This commit is contained in:
ArthurSonzogni
2021-07-10 13:20:43 +02:00
committed by Arthur Sonzogni
parent 7f514ff41c
commit 5c4cd1add1
22 changed files with 136 additions and 84 deletions

View File

@@ -8,13 +8,19 @@
#include "ftxui/component/component_base.hpp"
#include "ftxui/component/component_options.hpp"
#include "ftxui/dom/elements.hpp" // for Element
#include "ftxui/util/ref.hpp" // for ConstStringRef, StringRef
#include "ftxui/dom/elements.hpp" // for Element
#include "ftxui/util/ref.hpp" // for Ref, ConstStringRef, StringRef
namespace ftxui {
class ComponentBase;
struct Event;
struct ButtonOption;
struct CheckboxOption;
struct InputOption;
struct MenuOption;
struct RadioboxOption;
struct ToggleOption;
using Component = std::shared_ptr<ComponentBase>;
using Components = std::vector<Component>;

View File

@@ -81,3 +81,7 @@ struct ToggleOption {
}; // namespace ftxui
#endif /* end of include guard: FTXUI_COMPONENT_COMPONENT_OPTIONS_HPP */
// Copyright 2021 Arthur Sonzogni. All rights reserved.
// Use of this source code is governed by the MIT license that can be found in
// the LICENSE file.

View File

@@ -24,7 +24,7 @@ class ConstRef {
/// @brief An adapter. Own or reference an mutable object.
template <typename T>
class Ref{
class Ref {
public:
Ref() {}
Ref(T t) : owned_(t) {}