diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-03-14 13:24:12 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-03-14 13:24:12 +0100 |
commit | a1c36919884e76c67c19896c526b139d84b8478c (patch) | |
tree | ab59345868766e0a0eb36b6bdfb123a6329abec7 /src/OutputUHD.cpp | |
parent | 33fab4f1008c1af305e6426233a1a87bd683782d (diff) | |
download | dabmod-a1c36919884e76c67c19896c526b139d84b8478c.tar.gz dabmod-a1c36919884e76c67c19896c526b139d84b8478c.tar.bz2 dabmod-a1c36919884e76c67c19896c526b139d84b8478c.zip |
Update RemoteControl from dabmux
Diffstat (limited to 'src/OutputUHD.cpp')
-rw-r--r-- | src/OutputUHD.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/OutputUHD.cpp b/src/OutputUHD.cpp index 5e66fb3..b8d421f 100644 --- a/src/OutputUHD.cpp +++ b/src/OutputUHD.cpp @@ -543,7 +543,7 @@ loopend: } -void OutputUHD::set_parameter(string parameter, string value) +void OutputUHD::set_parameter(const string& parameter, const string& value) { stringstream ss(value); ss.exceptions ( stringstream::failbit | stringstream::badbit ); @@ -571,7 +571,7 @@ void OutputUHD::set_parameter(string parameter, string value) } } -string OutputUHD::get_parameter(string parameter) +const string OutputUHD::get_parameter(const string& parameter) const { stringstream ss; if (parameter == "txgain") { |