I18N - Record

- Localized Record object.
- Remove copy ctor, operator= from Duration - unnecessary.
This commit is contained in:
Paul Beckingham 2009-06-06 22:06:02 -04:00
parent 36d4ecab43
commit db52cf7327
5 changed files with 23 additions and 32 deletions

View file

@ -37,31 +37,12 @@ Duration::Duration ()
{
}
////////////////////////////////////////////////////////////////////////////////
Duration::Duration (const Duration& other)
{
throw std::string ("unimplemented Duration::Duration");
mDays = other.mDays;
}
////////////////////////////////////////////////////////////////////////////////
Duration::Duration (const std::string& input)
{
parse (input);
}
////////////////////////////////////////////////////////////////////////////////
Duration& Duration::operator= (const Duration& other)
{
throw std::string ("unimplemented Duration::operator=");
if (this != &other)
{
mDays = other.mDays;
}
return *this;
}
////////////////////////////////////////////////////////////////////////////////
Duration::operator int ()
{