From ac0140148cf55a3d5ae9e77ebf32a763cfb419a9 Mon Sep 17 00:00:00 2001 From: "dmitry.razdoburdin" Date: Tue, 15 Mar 2022 15:44:22 +0300 Subject: [PATCH] Bug fixing --- src/device_selector.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/device_selector.cc b/src/device_selector.cc index 6a55515cb1da..4a452de41825 100644 --- a/src/device_selector.cc +++ b/src/device_selector.cc @@ -84,9 +84,7 @@ void DeviceSelector::Init(const std::string& user_input_device_selector) { } // Save the user input device_selector - std::stringstream ss; - ss << *this; - user_input_ = ss.str(); + user_input_ = user_input_device_selector; } bool operator != (const DeviceSelector::Specification& lhs, const DeviceSelector::Specification& rhs) {