Duration
- Implemented operator- for us by the Variant.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user