mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-17 11:05:03 +02:00
added some const's back to DynamicAny
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -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.");
|
||||
|
Reference in New Issue
Block a user