mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-17 03:03:23 +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;
|
return *this = *this + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
DynamicAny DynamicAny::operator ++ (int)
|
const DynamicAny DynamicAny::operator ++ (int)
|
||||||
{
|
{
|
||||||
if (!isInteger())
|
if (!isInteger())
|
||||||
throw InvalidArgumentException("Invalid operation for this data type.");
|
throw InvalidArgumentException("Invalid operation for this data type.");
|
||||||
@@ -234,7 +234,7 @@ DynamicAny& DynamicAny::operator -- ()
|
|||||||
return *this = *this - 1;
|
return *this = *this - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
DynamicAny DynamicAny::operator -- (int)
|
const DynamicAny DynamicAny::operator -- (int)
|
||||||
{
|
{
|
||||||
if (!isInteger())
|
if (!isInteger())
|
||||||
throw InvalidArgumentException("Invalid operation for this data type.");
|
throw InvalidArgumentException("Invalid operation for this data type.");
|
||||||
|
Reference in New Issue
Block a user