diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-12-25 05:23:24 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-12-25 05:23:28 +0100 |
commit | 92bd6722d4dfc0526d5f2f12e99440b0e18d7479 (patch) | |
tree | 0f249b3f48617ab03d6acf3dbfb215369d3936fd /src/output/SDR.cpp | |
parent | b855183f0878fac7f09017539b6a4504e00cf6e4 (diff) | |
download | dabmod-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.cpp | 6 |
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()); } } |