summaryrefslogtreecommitdiff
path: root/libodbcpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-12-12 17:25:47 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2020-12-12 17:25:47 +0000
commitd046504464cb476be9ff3f810ad93f6c3961c8ac (patch)
treeea2f7c19f25c466a6ed8c54018887537090a5774 /libodbcpp
parentModern jam lto (diff)
downloadlibdbpp-odbc-1.4.4.tar.bz2
libdbpp-odbc-1.4.4.tar.xz
libdbpp-odbc-1.4.4.zip
Replace straggling typedefslibdbpp-odbc-1.4.4
Diffstat (limited to 'libodbcpp')
-rw-r--r--libodbcpp/odbc-column.h2
-rw-r--r--libodbcpp/odbc-selectcommand.h4
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;
};
}