Run clang-format.

This commit is contained in:
ArthurSonzogni
2020-03-27 01:42:46 +01:00
parent 1703552235
commit fce29a03b3
21 changed files with 104 additions and 151 deletions

View File

@@ -7,7 +7,6 @@
#include "ftxui/screen/string.hpp"
#include "ftxui/screen/terminal.hpp"
#if defined(_WIN32)
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX

View File

@@ -3,10 +3,9 @@
#include <codecvt>
#include <locale>
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4996) // codecvt_utf8_utf16 is deprecated
#pragma warning(push)
#pragma warning(disable : 4996) // codecvt_utf8_utf16 is deprecated
#endif
std::string to_string(const std::wstring& s) {
@@ -20,5 +19,5 @@ std::wstring to_wstring(const std::string& s) {
}
#ifdef _MSC_VER
#pragma warning(pop)
#pragma warning(pop)
#endif

View File

@@ -2,7 +2,6 @@
#include <stdio.h>
#if defined(_WIN32)
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX