@@ -138,7 +138,7 @@ FOR(1, $1,[
138
138
//This avoids a leak on MSVC++ - see http://bugzilla.gnome.org/show_bug.cgi?id=306249
139
139
{
140
140
temp_slot_list slots(impl->slots_);
141
- iterator_type it = slots.begin();
141
+ auto it = slots.begin();
142
142
for (; it != slots.end(); ++it)
143
143
if (!it->empty() && !it->blocked()) break;
144
144
@@ -234,7 +234,7 @@ FOR(1, $1,[
234
234
signal_exec exec(impl);
235
235
temp_slot_list slots(impl->slots_);
236
236
237
- for (iterator_type it = slots.begin(); it != slots.end(); ++it)
237
+ for (auto it = slots.begin(); it != slots.end(); ++it)
238
238
{
239
239
if (it->empty() || it->blocked())
240
240
continue;
@@ -262,7 +262,7 @@ FOR(1, $1,[
262
262
typedef std::reverse_iterator<signal_impl::iterator_type, std::random_access_iterator_tag,
263
263
slot_base, slot_base&, slot_base*, std::ptrdiff_t> reverse_iterator_type;
264
264
#endif
265
- for (reverse_iterator_type it = reverse_iterator_type(slots.end()); it != reverse_iterator_type(slots.begin()); ++it)
265
+ for (auto it = reverse_iterator_type(slots.end()); it != reverse_iterator_type(slots.begin()); ++it)
266
266
{
267
267
if (it->empty() || it->blocked())
268
268
continue;
@@ -1126,7 +1126,7 @@ struct slot_reverse_iterator_buf
1126
1126
1127
1127
result_type operator*() const
1128
1128
{
1129
- iterator_type __tmp(i_);
1129
+ auto __tmp(i_);
1130
1130
--__tmp;
1131
1131
if (!__tmp->empty() && !__tmp->blocked() && !invoked_)
1132
1132
{
@@ -1205,7 +1205,7 @@ struct slot_reverse_iterator_buf<T_emitter, void>
1205
1205
1206
1206
void operator*() const
1207
1207
{
1208
- iterator_type __tmp(i_);
1208
+ auto __tmp(i_);
1209
1209
--__tmp;
1210
1210
if (!__tmp->empty() && !__tmp->blocked() && !invoked_)
1211
1211
{
0 commit comments