summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/OutputSoapy.cpp6
1 files changed, 3 insertions, 3 deletions
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());
}
}