From 515959935cd7c741db5aca5b20bfb7611749fbfb Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 25 Dec 2017 05:08:23 +0100 Subject: Fix Soapy warning --- src/OutputSoapy.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/OutputSoapy.cpp b/src/OutputSoapy.cpp index 3f8db88..699501c 100644 --- a/src/OutputSoapy.cpp +++ b/src/OutputSoapy.cpp @@ -253,10 +253,10 @@ void OutputSoapy::set_parameter(const string& parameter, const string& value) throw ParameterError("Parameter 'overflows' is read-only"); } else { - stringstream ss; - ss << "Parameter '" << parameter + stringstream ss_err; + ss_err << "Parameter '" << parameter << "' is not exported by controllable " << get_rc_name(); - throw ParameterError(ss.str()); + throw ParameterError(ss_err.str()); } } -- cgit v1.2.3