added some const's back to DynamicAny

This commit is contained in:
Guenter Obiltschnig
2008-09-19 10:55:33 +00:00
parent 8a435a76d2
commit 2908c0a2ad
2 changed files with 144 additions and 144 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -216,7 +216,7 @@ DynamicAny& DynamicAny::operator ++ ()
return *this = *this + 1;
}
DynamicAny DynamicAny::operator ++ (int)
const DynamicAny DynamicAny::operator ++ (int)
{
if (!isInteger())
throw InvalidArgumentException("Invalid operation for this data type.");
@@ -234,7 +234,7 @@ DynamicAny& DynamicAny::operator -- ()
return *this = *this - 1;
}
DynamicAny DynamicAny::operator -- (int)
const DynamicAny DynamicAny::operator -- (int)
{
if (!isInteger())
throw InvalidArgumentException("Invalid operation for this data type.");