bf0e4b3714
also move the header files to ${LOCALBASE}/include/mysql++
27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
Plaintext
$OpenBSD: patch-sqlplusint_datetime2_hh,v 1.1 2004/01/06 11:16:53 wilfried Exp $
|
|
--- sqlplusint/datetime2.hh.orig 2001-05-19 18:44:48.000000000 +0200
|
|
+++ sqlplusint/datetime2.hh 2004-01-04 23:25:47.000000000 +0100
|
|
@@ -5,17 +5,17 @@
|
|
#include "coldata2.hh"
|
|
#include "stream2string2.hh"
|
|
|
|
-inline mysql_dt_base::operator string () {
|
|
- return stream2string<string>(*this);
|
|
+inline mysql_dt_base::operator std::string () {
|
|
+ return stream2string<std::string>(*this);
|
|
}
|
|
|
|
inline Date::Date (const ColData &str) {convert(str.c_str());}
|
|
-inline Date::Date (const string &str) {convert(str.c_str());}
|
|
+inline Date::Date (const std::string &str) {convert(str.c_str());}
|
|
|
|
inline Time::Time (const ColData &str) {convert(str.c_str());}
|
|
-inline Time::Time (const string &str) {convert(str.c_str());}
|
|
+inline Time::Time (const std::string &str) {convert(str.c_str());}
|
|
|
|
inline DateTime::DateTime (const ColData &str) {convert(str.c_str());}
|
|
-inline DateTime::DateTime (const string &str) {convert(str.c_str());}
|
|
+inline DateTime::DateTime (const std::string &str) {convert(str.c_str());}
|
|
|
|
#endif
|