summaryrefslogtreecommitdiffstats
path: root/src/output/SDR.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-25 05:23:24 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-25 05:23:28 +0100
commit92bd6722d4dfc0526d5f2f12e99440b0e18d7479 (patch)
tree0f249b3f48617ab03d6acf3dbfb215369d3936fd /src/output/SDR.cpp
parentb855183f0878fac7f09017539b6a4504e00cf6e4 (diff)
downloaddabmod-92bd6722d4dfc0526d5f2f12e99440b0e18d7479.tar.gz
dabmod-92bd6722d4dfc0526d5f2f12e99440b0e18d7479.tar.bz2
dabmod-92bd6722d4dfc0526d5f2f12e99440b0e18d7479.zip
Avoid warning in SDR.cpp. Set UHD metadata time_spec.
Diffstat (limited to 'src/output/SDR.cpp')
-rw-r--r--src/output/SDR.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/output/SDR.cpp b/src/output/SDR.cpp
index ac25061..ba296de 100644
--- a/src/output/SDR.cpp
+++ b/src/output/SDR.cpp
@@ -382,10 +382,10 @@ void SDR::set_parameter(const string& parameter, const string& value)
throw ParameterError("Parameter " + parameter + " 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());
}
}