C26426, global initializer calls non-constexpr. This is an easy move to wstring_view.
This commit is contained in:
parent
072bbfd09d
commit
5d60d69e86
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue