summaryrefslogtreecommitdiff
path: root/gr-channels/lib/selective_fading_model2_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-channels/lib/selective_fading_model2_impl.h')
-rw-r--r--gr-channels/lib/selective_fading_model2_impl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-channels/lib/selective_fading_model2_impl.h b/gr-channels/lib/selective_fading_model2_impl.h
index 79c9d73b7f..680bcbb56c 100644
--- a/gr-channels/lib/selective_fading_model2_impl.h
+++ b/gr-channels/lib/selective_fading_model2_impl.h
@@ -59,14 +59,14 @@ public:
virtual void set_fDTs(float fDTs)
{
- BOOST_FOREACH (gr::channels::flat_fader_impl* fader, d_faders) {
+ for (const auto& fader : d_faders) {
fader->d_fDTs = fDTs;
fader->d_step = powf(0.00125 * fDTs, 1.1);
}
}
virtual void set_K(float K)
{
- BOOST_FOREACH (gr::channels::flat_fader_impl* fader, d_faders) {
+ for (const auto& fader : d_faders) {
fader->d_K = K;
fader->scale_los = sqrtf(fader->d_K) / sqrtf(fader->d_K + 1);
fader->scale_nlos = (1 / sqrtf(fader->d_K + 1));
@@ -74,7 +74,7 @@ public:
}
virtual void set_step(float step)
{
- BOOST_FOREACH (gr::channels::flat_fader_impl* fader, d_faders) {
+ for (const auto& fader : d_faders) {
fader->d_step = step;
}
}