From a3b7cf963772951087a7389f75409efb01c11567 Mon Sep 17 00:00:00 2001 From: randomdan Date: Wed, 2 Mar 2011 11:07:17 +0000 Subject: Fix function definitions to match declarations (fixes Doxygen warnings) --- libodbcpp/column.cpp | 2 +- libodbcpp/param.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libodbcpp') 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); -- cgit v1.2.3