vcpkg/ports/refprop-headers/unicode-build.diff
Kai Pastor 3e93bb69a1
[coolprop,if97,msgpack,refprop-headers] Cleanup (#31694)
* [coolprop] Cleanup

* Fix uwp

* [refprop-headers] Update

* [if97] Avoid encoding warnings

* [msgpack] More boost dependencies

Cf. https://github.com/msgpack/msgpack-c/wiki/install_boost

* [coolprop] Use msgpack endianess

---------

Co-authored-by: Cheney-Wang <850426846@qq.com>
2023-05-31 12:27:10 -07:00

14 lines
492 B
Diff

diff --git a/REFPROP_lib.h b/REFPROP_lib.h
index 60fb64a..df10d2c 100644
--- a/REFPROP_lib.h
+++ b/REFPROP_lib.h
@@ -762,7 +762,7 @@ extern "C" {
#ifndef UNICODE
msg = dllPath;
#else
- std::wstring wStr = t;
+ std::wstring wStr = dllPath;
msg = std::string(wStr.begin(), wStr.end());
#endif
RPPath_loaded = msg;