summaryrefslogtreecommitdiff
path: root/libodbcpp
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-03-02 11:07:17 +0000
committerrandomdan <randomdan@localhost>2011-03-02 11:07:17 +0000
commita3b7cf963772951087a7389f75409efb01c11567 (patch)
tree2680bf851abf38bbe2333d7c79b088247ca7d474 /libodbcpp
parentFinally convert ytfs to use boost stuff (untested, but it does build) (diff)
downloadlibdbpp-odbc-a3b7cf963772951087a7389f75409efb01c11567.tar.bz2
libdbpp-odbc-a3b7cf963772951087a7389f75409efb01c11567.tar.xz
libdbpp-odbc-a3b7cf963772951087a7389f75409efb01c11567.zip
Fix function definitions to match declarations (fixes Doxygen warnings)
Diffstat (limited to 'libodbcpp')
-rw-r--r--libodbcpp/column.cpp2
-rw-r--r--libodbcpp/param.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/libodbcpp/column.cpp b/libodbcpp/column.cpp
index a34946a..9ff6d8d 100644
--- a/libodbcpp/column.cpp
+++ b/libodbcpp/column.cpp
@@ -61,7 +61,7 @@ ODBC::Column::bind()
}
}
-ODBC::TimeStampColumn::operator tm() const
+ODBC::TimeStampColumn::operator struct tm() const
{
struct tm t;
t << data;
diff --git a/libodbcpp/param.cpp b/libodbcpp/param.cpp
index 7f2319c..466892c 100644
--- a/libodbcpp/param.cpp
+++ b/libodbcpp/param.cpp
@@ -98,7 +98,7 @@ ODBC::GlibUstringParam::operator=(Glib::ustring const & d)
}
void
-ODBC::TimeStampParam::operator=(long const & d)
+ODBC::TimeStampParam::operator=(time_t const & d)
{
struct tm t;
gmtime_r(&d, &t);