diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-02-14 18:49:04 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-02-14 18:49:04 +0100 |
commit | c1da0ac7cca49e0b96dbb359ee48000cb04df15b (patch) | |
tree | c6041007cfa28ea80e5dc5df2f1944faf714ab32 /src/dabInputZmq.h | |
parent | d6d8d67b1c921d8fca7257291c15c07bdea8d14a (diff) | |
download | dabmux-c1da0ac7cca49e0b96dbb359ee48000cb04df15b.tar.gz dabmux-c1da0ac7cca49e0b96dbb359ee48000cb04df15b.tar.bz2 dabmux-c1da0ac7cca49e0b96dbb359ee48000cb04df15b.zip |
improve RC constness
Diffstat (limited to 'src/dabInputZmq.h')
-rw-r--r-- | src/dabInputZmq.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dabInputZmq.h b/src/dabInputZmq.h index cb7fdd4..5c88316 100644 --- a/src/dabInputZmq.h +++ b/src/dabInputZmq.h @@ -90,10 +90,11 @@ class DabInputZmqBase : public DabInputBase, public RemoteControllable { virtual int close(); /* Remote control */ - virtual void set_parameter(string parameter, string value); + virtual void set_parameter(const string& parameter, + const string& value); /* Getting a parameter always returns a string. */ - virtual string get_parameter(string parameter); + virtual const string get_parameter(const string& parameter) const; protected: virtual int readFromSocket(int framesize) = 0; |