From c265d92cc4b968a93867f505041a74e1195d5f8d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 5 Nov 2011 13:17:38 +0200 Subject: Make get() and conversion operator for auto-handle/descriptor const --- odb/oracle/auto-handle.hxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/odb/oracle/auto-handle.hxx b/odb/oracle/auto-handle.hxx index 7e4b83e..dcb6f0d 100644 --- a/odb/oracle/auto-handle.hxx +++ b/odb/oracle/auto-handle.hxx @@ -98,13 +98,13 @@ namespace odb handle_traits::release (h_); } - operator H* () + operator H* () const { return h_; } H* - get () + get () const { return h_; } @@ -158,13 +158,13 @@ namespace odb handle_traits::release (h_, e_); } - operator OCISvcCtx* () + operator OCISvcCtx* () const { return h_; } OCISvcCtx* - get () + get () const { return h_; } @@ -227,13 +227,13 @@ namespace odb handle_traits::release (h_, release_mode_, e_); } - operator OCIStmt* () + operator OCIStmt* () const { return h_; } OCIStmt* - get () + get () const { return h_; } -- cgit v1.1