vectorgrp / sil-kit

Vector SIL Kit – Open-Source Library for Connecting Software-in-the-Loop Environments
https://vectorgrp.github.io/sil-kit-docs
MIT License
107 stars 32 forks source link

-- mingw: use ifstream constructor taking a const wchar_t * #20

Closed VDanielEdwards closed 7 months ago

VDanielEdwards commented 7 months ago

Subject

In the C-API SilKit_ParticipantConfigurationFromFile implementation for _WIN32 platforms we use a non-standard overload of the std::ifstream constructor which takes a std::wstring (to allow unicode symbols in the path). This PR switches to the overload taking a const wchar_t * which is provided on MSVC as well as MinGW.

Instructions for review / testing

Developer checklist (address before review)