diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-09-27 17:15:48 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-09-27 17:20:06 +0200 |
commit | 7b9c412736f51965473649cac8caf5e933ae6b9e (patch) | |
tree | c4b2d89becc49fa7e5a56cea8b6352a4153d9885 /odb/oracle/oracle-types.hxx | |
parent | afd8e6dd307288b68c4ce6163f918198d92bf363 (diff) |
Pass parameter callback user context as a const void*
This avoids usage of const_cast when manipulating the const qualified values
in set_image functions within the traits implementations.
Diffstat (limited to 'odb/oracle/oracle-types.hxx')
-rw-r--r-- | odb/oracle/oracle-types.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/oracle/oracle-types.hxx b/odb/oracle/oracle-types.hxx index a3b45c6..c027e5d 100644 --- a/odb/oracle/oracle-types.hxx +++ b/odb/oracle/oracle-types.hxx @@ -28,7 +28,7 @@ namespace odb // statement execution is aborted. // typedef bool (*param_callback_type) ( - void* context, // [in] The user context. + const void* context, // [in] The user context. ub4* position_context, // [in] A position context. A callback is free to // use this to track position information. void** buffer, // [out] On return, a pointer to a buffer |