aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/details
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-11-08 13:33:18 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-11-08 14:46:33 +0200
commit072243209fb5a954fa4204e9a0f1d7020747bb05 (patch)
tree2a738912284e99ae958af38365a848878dd087e2 /odb/oracle/details
parent7f9da7db1ed405062a27cc8acca11604b9d468eb (diff)
Modify Oracle DATE helper functions for consistency
Diffstat (limited to 'odb/oracle/details')
-rw-r--r--odb/oracle/details/date.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/odb/oracle/details/date.hxx b/odb/oracle/details/date.hxx
index 47137f6..4e6ac3e 100644
--- a/odb/oracle/details/date.hxx
+++ b/odb/oracle/details/date.hxx
@@ -37,13 +37,13 @@ namespace odb
}
inline void
- get_date (short& year,
+ get_date (const char* b,
+ short& year,
unsigned char& month,
unsigned char& day,
unsigned char& hour,
unsigned char& minute,
- unsigned char& second,
- const char* b)
+ unsigned char& second)
{
const unsigned char* ub (reinterpret_cast<const unsigned char*> (b));