summaryrefslogtreecommitdiff
path: root/libodbcpp/command.h
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2010-04-05 17:15:14 +0000
committerrandomdan <randomdan@localhost>2010-04-05 17:15:14 +0000
commitb9b2dc0575ba01dd294264f217757a88cabafc62 (patch)
tree03851b0aa39cb2e5fade42e990179b9e7e127d24 /libodbcpp/command.h
parentlots of gcc warning fixes and a few newbies (diff)
downloadlibdbpp-odbc-b9b2dc0575ba01dd294264f217757a88cabafc62.tar.bz2
libdbpp-odbc-b9b2dc0575ba01dd294264f217757a88cabafc62.tar.xz
libdbpp-odbc-b9b2dc0575ba01dd294264f217757a88cabafc62.zip
Minor fixes
Diffstat (limited to 'libodbcpp/command.h')
-rw-r--r--libodbcpp/command.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libodbcpp/command.h b/libodbcpp/command.h
index 9da291c..8ef7249 100644
--- a/libodbcpp/command.h
+++ b/libodbcpp/command.h
@@ -25,9 +25,9 @@ namespace ODBC {
void bindParamS(unsigned int i, const unsigned char *, size_t);
void bindParamS(unsigned int i, std::string);
void bindParamS(unsigned int i, String);
- void bindParamT(unsigned int i, struct tm *);
+ void bindParamT(unsigned int i, const struct tm *);
void bindParamT(unsigned int i, time_t);
- void bindParamT(unsigned int i, const TimeTypePair & p) { bindParamT(i, p.c()); }
+ void bindParamT(unsigned int i, const TimeTypePair & p);
const String sql;
protected: