From a28444da4ca6adb016f719e032174ccb54e1692e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 21 Sep 2011 13:00:33 +0200 Subject: Rework const object handling Now objects are always loaded as non-const and the object cache in session treats all objects as non-const. --- odb/exceptions.hxx | 7 ------- 1 file changed, 7 deletions(-) (limited to 'odb/exceptions.hxx') diff --git a/odb/exceptions.hxx b/odb/exceptions.hxx index b1e4711..698baee 100644 --- a/odb/exceptions.hxx +++ b/odb/exceptions.hxx @@ -56,12 +56,6 @@ namespace odb what () const throw (); }; - struct LIBODB_EXPORT const_object: exception - { - virtual const char* - what () const throw (); - }; - // Database operations exceptions. // struct LIBODB_EXPORT recoverable: exception @@ -139,7 +133,6 @@ namespace odb using odb::already_in_session; using odb::not_in_session; - using odb::const_object; using odb::recoverable; using odb::deadlock; -- cgit v1.1