- Implemented operator- for us by the Variant.
This commit is contained in:
Paul Beckingham
2011-06-14 21:29:17 -04:00
parent 6242c4a8ae
commit c23c374b17
2 changed files with 8 additions and 0 deletions

View File

@@ -151,6 +151,13 @@ Duration& Duration::operator= (const Duration& other)
return *this;
}
////////////////////////////////////////////////////////////////////////////////
Duration& Duration::operator- (const Duration& other)
{
throw std::string ("Error: Duration::operator- unimplemented");
return *this;
}
////////////////////////////////////////////////////////////////////////////////
std::string Duration::format () const
{