diff options
Diffstat (limited to 'odb/details/posix/exceptions.cxx')
-rw-r--r-- | odb/details/posix/exceptions.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/odb/details/posix/exceptions.cxx b/odb/details/posix/exceptions.cxx index 7a50a13..b8bb702 100644 --- a/odb/details/posix/exceptions.cxx +++ b/odb/details/posix/exceptions.cxx @@ -13,5 +13,11 @@ namespace odb { return "POSIX API error"; } + + posix_exception* posix_exception:: + clone () const + { + return new posix_exception (*this); + } } } |