aboutsummaryrefslogtreecommitdiff
path: root/odb/boost/date-time/exceptions.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/boost/date-time/exceptions.cxx')
-rw-r--r--odb/boost/date-time/exceptions.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/odb/boost/date-time/exceptions.cxx b/odb/boost/date-time/exceptions.cxx
index 7acbd84..554a9a8 100644
--- a/odb/boost/date-time/exceptions.cxx
+++ b/odb/boost/date-time/exceptions.cxx
@@ -16,11 +16,23 @@ namespace odb
return "unrepresentable date/time special value";
}
+ special_value* special_value::
+ clone () const
+ {
+ return new special_value (*this);
+ }
+
const char* value_out_of_range::
what () const throw ()
{
return "date/time value out of range";
}
+
+ value_out_of_range* value_out_of_range::
+ clone () const
+ {
+ return new value_out_of_range (*this);
+ }
}
}
}