Skip to content
Permalink
Browse files

Fix indentation

  • Loading branch information
stefanuhrig committed Jan 9, 2021
1 parent 45ae4c6 commit 7f7bbae1d0cc885d96e967a9c00c6a2549c478dc
@@ -27,7 +27,7 @@

#include "odbc/PreparedStatement.h"

QgsHanaProviderResultIterator::QgsHanaProviderResultIterator( QgsHanaResultSetRef&& resultSet )
QgsHanaProviderResultIterator::QgsHanaProviderResultIterator( QgsHanaResultSetRef &&resultSet )
: mResultSet( std::move( resultSet ) )
, mNumColumns( mResultSet->getMetadata().getColumnCount() )
, mNextRow( mResultSet->next() )
@@ -23,13 +23,13 @@

struct QgsHanaEmptyProviderResultIterator: public QgsAbstractDatabaseProviderConnection::QueryResult::QueryResultIterator
{
QVariantList nextRow() override { return QVariantList(); }
bool hasNextRow() const override { return false; }
QVariantList nextRow() override { return QVariantList(); }
bool hasNextRow() const override { return false; }
};

struct QgsHanaProviderResultIterator: public QgsAbstractDatabaseProviderConnection::QueryResult::QueryResultIterator
{
QgsHanaProviderResultIterator( QgsHanaResultSetRef&& resultSet );
QgsHanaProviderResultIterator( QgsHanaResultSetRef &&resultSet );
QVariantList nextRow() override;
bool hasNextRow() const override { return mNextRow; }

0 comments on commit 7f7bbae

Please sign in to comment.
You can’t perform that action at this time.