diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-12-12 17:25:47 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-12-12 17:25:47 +0000 |
commit | d046504464cb476be9ff3f810ad93f6c3961c8ac (patch) | |
tree | ea2f7c19f25c466a6ed8c54018887537090a5774 /libodbcpp | |
parent | Modern jam lto (diff) | |
download | libdbpp-odbc-d046504464cb476be9ff3f810ad93f6c3961c8ac.tar.bz2 libdbpp-odbc-d046504464cb476be9ff3f810ad93f6c3961c8ac.tar.xz libdbpp-odbc-d046504464cb476be9ff3f810ad93f6c3961c8ac.zip |
Replace straggling typedefslibdbpp-odbc-1.4.4
Diffstat (limited to 'libodbcpp')
-rw-r--r-- | libodbcpp/odbc-column.h | 2 | ||||
-rw-r--r-- | libodbcpp/odbc-selectcommand.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libodbcpp/odbc-column.h b/libodbcpp/odbc-column.h index 36aa51f..e2783ce 100644 --- a/libodbcpp/odbc-column.h +++ b/libodbcpp/odbc-column.h @@ -80,7 +80,7 @@ namespace ODBC { }; class CharArrayColumn : public Column, public Param { public: - typedef std::vector<char> CharArray; + using CharArray = std::vector<char>; CharArrayColumn(SelectCommand * sc, const Glib::ustring & n, unsigned int i, SQLULEN sizeHint) : DB::Column(n, i), Column(sc, n, i) { diff --git a/libodbcpp/odbc-selectcommand.h b/libodbcpp/odbc-selectcommand.h index 1dbf798..e9d56c7 100644 --- a/libodbcpp/odbc-selectcommand.h +++ b/libodbcpp/odbc-selectcommand.h @@ -15,8 +15,8 @@ namespace ODBC { private: bool fetch(SQLSMALLINT orientation = SQL_FETCH_NEXT, SQLLEN offset = 0); - typedef std::shared_ptr<Column> ColumnPtr; - typedef std::set<Column *> Columns; + using ColumnPtr = std::shared_ptr<Column>; + using Columns = std::set<Column *>; Columns largeColumns; }; } |