summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
};
}