diff options
author | randomdan <randomdan@localhost> | 2010-04-05 17:15:14 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2010-04-05 17:15:14 +0000 |
commit | b9b2dc0575ba01dd294264f217757a88cabafc62 (patch) | |
tree | 03851b0aa39cb2e5fade42e990179b9e7e127d24 /libodbcpp/command.h | |
parent | lots of gcc warning fixes and a few newbies (diff) | |
download | libdbpp-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.h | 4 |
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: |