summaryrefslogtreecommitdiffstats
path: root/src/MuxElements.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-04-15 11:24:35 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-04-15 11:26:37 +0200
commit0771e521bea04a25536120d00f987b5c491b2e6a (patch)
tree1ac3a409f93caaff96f17642e6616f1f4eafa508 /src/MuxElements.h
parent07d3536083ad8d0f08819e8be89aa5934fcaa712 (diff)
downloaddabmux-0771e521bea04a25536120d00f987b5c491b2e6a.tar.gz
dabmux-0771e521bea04a25536120d00f987b5c491b2e6a.tar.bz2
dabmux-0771e521bea04a25536120d00f987b5c491b2e6a.zip
Simplify getSubchannel by using lambda
Diffstat (limited to 'src/MuxElements.h')
-rw-r--r--src/MuxElements.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/MuxElements.h b/src/MuxElements.h
index 7f48827..289c35a 100644
--- a/src/MuxElements.h
+++ b/src/MuxElements.h
@@ -280,15 +280,6 @@ public:
};
-class SubchannelId : public std::binary_function <DabSubchannel*, int, bool> {
-public:
- bool operator()(const DabSubchannel* subchannel, const int id) const {
- return subchannel->id == id;
- }
-};
-
-
-
struct dabAudioComponent {
dabAudioComponent() :