aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/qt/date-time/exceptions.cxx6
-rw-r--r--odb/qt/date-time/exceptions.hxx3
2 files changed, 9 insertions, 0 deletions
diff --git a/odb/qt/date-time/exceptions.cxx b/odb/qt/date-time/exceptions.cxx
index 2e35936..e745aa7 100644
--- a/odb/qt/date-time/exceptions.cxx
+++ b/odb/qt/date-time/exceptions.cxx
@@ -15,6 +15,12 @@ namespace odb
{
return "date/time value out of range";
}
+
+ value_out_of_range* value_out_of_range::
+ clone () const
+ {
+ return new value_out_of_range (*this);
+ }
}
}
}
diff --git a/odb/qt/date-time/exceptions.hxx b/odb/qt/date-time/exceptions.hxx
index bdbc590..70b8181 100644
--- a/odb/qt/date-time/exceptions.hxx
+++ b/odb/qt/date-time/exceptions.hxx
@@ -20,6 +20,9 @@ namespace odb
{
virtual const char*
what () const throw ();
+
+ virtual value_out_of_range*
+ clone () const;
};
}
}