summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-25 05:08:23 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-25 05:08:23 +0100
commit515959935cd7c741db5aca5b20bfb7611749fbfb (patch)
tree3ffac4d686165ed4a215711cf532492ca941f223 /src
parent2a199ca830cb1338b5c52ca5f147ebef26330d22 (diff)
downloaddabmod-515959935cd7c741db5aca5b20bfb7611749fbfb.tar.gz
dabmod-515959935cd7c741db5aca5b20bfb7611749fbfb.tar.bz2
dabmod-515959935cd7c741db5aca5b20bfb7611749fbfb.zip
Fix Soapy warning
Diffstat (limited to 'src')
-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());
}
}