Fix plugin group socket name generation

I'm pretty sure you're supposed to be able to format `size_t` values,
why does this break the stringstream?
This commit is contained in:
Robbert van der Helm
2020-06-05 22:56:52 +02:00
parent 33777d2876
commit 3aab2e9727
2 changed files with 10 additions and 1 deletions
+3 -1
View File
@@ -170,7 +170,9 @@ boost::filesystem::path generate_group_endpoint(
PluginArchitecture architecture) {
std::ostringstream socket_name;
socket_name << "yabridge-group-" << group_name << "-"
<< std::hash<std::string>{}(wine_prefix.string()) << "-";
<< std::to_string(
std::hash<std::string>{}(wine_prefix.string()))
<< "-";
switch (architecture) {
case PluginArchitecture::vst_32:
socket_name << "x32";