Skip to content

Commit f7354ff

Browse files
committed
Fix indentation
1 parent 1eb6376 commit f7354ff

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

src/core/qgsfield.cpp

+24-24
Original file line numberDiff line numberDiff line change
@@ -442,43 +442,43 @@ bool QgsFields::operator==( const QgsFields &other ) const
442442
QgsFields::const_iterator QgsFields::constBegin() const noexcept
443443
{
444444
if ( d->fields.isEmpty() )
445-
return const_iterator();
445+
return const_iterator();
446446

447447
return const_iterator( &d->fields.first() );
448448
}
449449

450450
QgsFields::const_iterator QgsFields::constEnd() const noexcept
451-
{
452-
if ( d->fields.isEmpty() )
451+
{
452+
if ( d->fields.isEmpty() )
453453
return const_iterator();
454454

455-
return const_iterator( &d->fields.last() + 1 );
456-
}
455+
return const_iterator( &d->fields.last() + 1 );
456+
}
457457

458-
QgsFields::const_iterator QgsFields::begin() const noexcept
459-
{
460-
if ( d->fields.isEmpty() )
461-
return const_iterator();
458+
QgsFields::const_iterator QgsFields::begin() const noexcept
459+
{
460+
if ( d->fields.isEmpty() )
461+
return const_iterator();
462462

463-
return const_iterator( &d->fields.first() );
464-
}
463+
return const_iterator( &d->fields.first() );
464+
}
465465

466-
QgsFields::const_iterator QgsFields::end() const noexcept
467-
{
468-
if ( d->fields.isEmpty() )
469-
return const_iterator();
466+
QgsFields::const_iterator QgsFields::end() const noexcept
467+
{
468+
if ( d->fields.isEmpty() )
469+
return const_iterator();
470470

471-
return const_iterator( &d->fields.last() + 1 );
472-
}
471+
return const_iterator( &d->fields.last() + 1 );
472+
}
473473

474-
QgsFields::iterator QgsFields::begin()
475-
{
476-
if ( d->fields.isEmpty() )
477-
return iterator();
474+
QgsFields::iterator QgsFields::begin()
475+
{
476+
if ( d->fields.isEmpty() )
477+
return iterator();
478478

479-
d.detach();
480-
return iterator( &d->fields.first() );
481-
}
479+
d.detach();
480+
return iterator( &d->fields.first() );
481+
}
482482

483483
QgsFields::iterator QgsFields::end()
484484
{

0 commit comments

Comments
 (0)