GPUOpen-Archive / Anvil

Anvil is a cross-platform framework for Vulkan
MIT License
594 stars 62 forks source link

Addressed string conversion warning introduced in VS 2019. #150

Open pvarcholik opened 5 years ago

pvarcholik commented 5 years ago

Building with VS 2019 issues a C4244 warning from io.cpp line 168: conversion from wchar_t to const_Eem, possible loss of data.

In the pull request, I used codecvt_utf8 to address the warning. While codecvt is deprecated in C++17, it'll remain valid until a replacement is found.