aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-11-05 13:17:38 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-11-08 16:03:17 +0200
commitc265d92cc4b968a93867f505041a74e1195d5f8d (patch)
tree90c8851a5425253074398cf99bb2fed7df022bd6
parent7fbc5ccbb2c245000af43f3ca13e714af459a1dd (diff)
Make get() and conversion operator for auto-handle/descriptor const
-rw-r--r--odb/oracle/auto-handle.hxx12
1 files 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<H>::release (h_);
}
- operator H* ()
+ operator H* () const
{
return h_;
}
H*
- get ()
+ get () const
{
return h_;
}
@@ -158,13 +158,13 @@ namespace odb
handle_traits<OCISvcCtx>::release (h_, e_);
}
- operator OCISvcCtx* ()
+ operator OCISvcCtx* () const
{
return h_;
}
OCISvcCtx*
- get ()
+ get () const
{
return h_;
}
@@ -227,13 +227,13 @@ namespace odb
handle_traits<OCIStmt>::release (h_, release_mode_, e_);
}
- operator OCIStmt* ()
+ operator OCIStmt* () const
{
return h_;
}
OCIStmt*
- get ()
+ get () const
{
return h_;
}