From a24b486d1c5c1a43b808698cce1464a8cb8b2f4c Mon Sep 17 00:00:00 2001 From: Mikel Rico Date: Wed, 26 Oct 2022 11:01:39 +0200 Subject: [PATCH] Compilation error on static_cast due to compiler versioning Signed-off-by: Mikel Rico --- src/DSManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DSManager.cpp b/src/DSManager.cpp index 6581af7d..456b43f6 100644 --- a/src/DSManager.cpp +++ b/src/DSManager.cpp @@ -1944,7 +1944,7 @@ void DiscoveryServerManager::on_subscriber_discovery( if (part_name.empty()) { // if remote use prefix instead of name - part_name = static_cast(std::ostringstream() << partid).str(); + part_name = static_cast(std::ostringstream() << partid).str(); } switch (info.status) @@ -2020,7 +2020,7 @@ void DiscoveryServerManager::on_publisher_discovery( if (part_name.empty()) { // if remote use prefix instead of name - part_name = static_cast(std::ostringstream() << partid).str(); + part_name = static_cast(std::ostringstream() << partid).str(); } switch (info.status)