diff options
Diffstat (limited to 'src/lib/cinema_kdms.cc')
| -rw-r--r-- | src/lib/cinema_kdms.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/cinema_kdms.cc b/src/lib/cinema_kdms.cc index 299cdf94e..c05dd6138 100644 --- a/src/lib/cinema_kdms.cc +++ b/src/lib/cinema_kdms.cc @@ -174,11 +174,11 @@ CinemaKDMs::email ( boost::algorithm::replace_all (body, "$END_TIME", name_values['t']); boost::algorithm::replace_all (body, "$CINEMA_NAME", i.cinema->name); - locked_stringstream screens; + string screens; BOOST_FOREACH (ScreenKDM const & j, i.screen_kdms) { - screens << j.screen->name << ", "; + screens += j.screen->name + ", "; } - boost::algorithm::replace_all (body, "$SCREENS", screens.str().substr (0, screens.str().length() - 2)); + boost::algorithm::replace_all (body, "$SCREENS", screens.substr (0, screens.length() - 2)); Emailer email (config->kdm_from(), i.cinema->emails, subject, body); |
