Add missing braces to the README code snippet
This commit is contained in:
parent
de657e7057
commit
819dc09eb2
|
@ -41,7 +41,7 @@ To use the SQL parser in your own projects you simply have to follow these few s
|
||||||
const hsql::SQLStatement* statement = result.getStatement(0);
|
const hsql::SQLStatement* statement = result.getStatement(0);
|
||||||
|
|
||||||
if (statement->isType(hsql::kStmtSelect)) {
|
if (statement->isType(hsql::kStmtSelect)) {
|
||||||
const auto* select = static_cast<const hsql::SelectStatement*> statement;
|
const auto* select = static_cast<const hsql::SelectStatement*>(statement);
|
||||||
/* ... */
|
/* ... */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue