From 0a1552132435813f25c32c59bca2366e28a320da Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 23 Sep 2010 11:59:05 +0200 Subject: Add swap(), empty(), and size() to result class template --- odb/exceptions.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'odb/exceptions.cxx') diff --git a/odb/exceptions.cxx b/odb/exceptions.cxx index b27cc37..597f40d 100644 --- a/odb/exceptions.cxx +++ b/odb/exceptions.cxx @@ -37,6 +37,12 @@ namespace odb return "object not persistent"; } + const char* result_not_cached:: + what () const throw () + { + return "query result in not cached"; + } + const char* object_already_persistent:: what () const throw () { -- cgit v1.1