summaryrefslogtreecommitdiff
path: root/libodbcpp/column.h
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2008-11-13 14:45:11 +0000
committerrandomdan <randomdan@localhost>2008-11-13 14:45:11 +0000
commitefd292508070835781a0d92448a3661279dfd307 (patch)
tree0d2592bacfdb0cd159ebc5780dd69f86cc893af0 /libodbcpp/column.h
parentFix the C++ template errors (diff)
downloadlibdbpp-odbc-efd292508070835781a0d92448a3661279dfd307.tar.bz2
libdbpp-odbc-efd292508070835781a0d92448a3661279dfd307.tar.xz
libdbpp-odbc-efd292508070835781a0d92448a3661279dfd307.zip
Lots of little fixes
Diffstat (limited to 'libodbcpp/column.h')
-rw-r--r--libodbcpp/column.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libodbcpp/column.h b/libodbcpp/column.h
index 9f597c7..87c7edf 100644
--- a/libodbcpp/column.h
+++ b/libodbcpp/column.h
@@ -1,13 +1,13 @@
#ifndef ODBC_COLUMN_H
#define ODBC_COLUMN_H
-#include "string.h"
+#include "ustring.h"
#include "bind.h"
namespace ODBC {
class Column : public BindBase {
public:
- Column(String, u_int);
+ Column(String, unsigned int);
virtual ~Column();
void bind(SQLHANDLE, SQLUINTEGER, SQLSMALLINT, void*, size_t);
operator int () const;
@@ -16,13 +16,13 @@ namespace ODBC {
operator unsigned long long () const;
operator double () const;
operator float () const;
- operator const unsigned char * const () const;
- operator const char * const () const;
+ operator const unsigned char * () const;
+ operator const char * () const;
operator std::string () const;
operator String () const;
operator const struct tm & () const;
- const u_int colNo;
+ const unsigned int colNo;
const String name;
private:
mutable bool fresh;
@@ -31,7 +31,7 @@ namespace ODBC {
template <class t>
class _Column : public Bind<t>, public Column {
public:
- _Column(String, u_int);
+ _Column(String, unsigned int);
~_Column() {}
};
}