diff options
Diffstat (limited to 'src/MuxElements.cpp')
-rw-r--r-- | src/MuxElements.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MuxElements.cpp b/src/MuxElements.cpp index c02afcd..fd8d57a 100644 --- a/src/MuxElements.cpp +++ b/src/MuxElements.cpp @@ -207,7 +207,7 @@ vector<DabSubchannel*>::iterator getSubchannel( return find_if( subchannels.begin(), subchannels.end(), - bind2nd(SubchannelId(), id) + [&](const DabSubchannel* s){ return s->id == id; } ); } |