diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-25 11:09:09 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-25 13:50:25 +0200 |
commit | d6c28b11e51d08be2555ba7371d9bbb063aae9af (patch) | |
tree | 86d3126dd8bbb1db5d2695b439c695b355c1733d /include/connectivity | |
parent | 049d9a81614eebce118da489f431144ed2e71c05 (diff) |
convert OSQLStatementType to scoped enum
Change-Id: I2df117cf0f405e88899e7ccab380156284720449
Diffstat (limited to 'include/connectivity')
-rw-r--r-- | include/connectivity/sqliterator.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/connectivity/sqliterator.hxx b/include/connectivity/sqliterator.hxx index 6ff72db3cf6c..7c4ce67d29ce 100644 --- a/include/connectivity/sqliterator.hxx +++ b/include/connectivity/sqliterator.hxx @@ -42,14 +42,14 @@ namespace connectivity typedef ::std::pair<const OSQLParseNode*,const OSQLParseNode* > TNodePair; - enum OSQLStatementType { - SQL_STATEMENT_UNKNOWN, - SQL_STATEMENT_SELECT, - SQL_STATEMENT_INSERT, - SQL_STATEMENT_UPDATE, - SQL_STATEMENT_DELETE, - SQL_STATEMENT_ODBC_CALL, - SQL_STATEMENT_CREATE_TABLE + enum class OSQLStatementType { + Unknown, + Select, + Insert, + Update, + Delete, + OdbcCall, + CreateTable }; struct OSQLParseTreeIteratorImpl; |