C26426, global initializer calls non-constexpr. This is an easy move to wstring_view.

This commit is contained in:
Michael Niksa 2019-09-03 14:33:00 -07:00
parent 072bbfd09d
commit 5d60d69e86

View file

@ -15,7 +15,7 @@
#pragma hdrstop
static constexpr float POINTS_PER_INCH = 72.0f;
static std::wstring FALLBACK_FONT_FACE = L"Consolas";
static std::wstring_view FALLBACK_FONT_FACE = L"Consolas";
static constexpr std::wstring_view FALLBACK_LOCALE = L"en-us";
using namespace Microsoft::Console::Render;