aboutsummaryrefslogtreecommitdiff
path: root/odb/exceptions.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-23 11:59:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-23 11:59:05 +0200
commit0a1552132435813f25c32c59bca2366e28a320da (patch)
treefe9f62c4ab19c46b0f7726c0a2d899ba173827fa /odb/exceptions.cxx
parent2b6eabb7411469faead3949f2fe9cfd950643123 (diff)
Add swap(), empty(), and size() to result class template
Diffstat (limited to 'odb/exceptions.cxx')
-rw-r--r--odb/exceptions.cxx6
1 files changed, 6 insertions, 0 deletions
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 ()
{