mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-24 17:30:44 +02:00
fixed issues reported by Klocwork
This commit is contained in:
@@ -63,28 +63,32 @@ public:
|
|||||||
Nullable():
|
Nullable():
|
||||||
/// Creates an empty Nullable.
|
/// Creates an empty Nullable.
|
||||||
_value(),
|
_value(),
|
||||||
_isNull(true)
|
_isNull(true),
|
||||||
|
_null()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
Nullable(const NullType&):
|
Nullable(const NullType&):
|
||||||
/// Creates an empty Nullable.
|
/// Creates an empty Nullable.
|
||||||
_value(),
|
_value(),
|
||||||
_isNull(true)
|
_isNull(true),
|
||||||
|
_null()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
Nullable(const C& value):
|
Nullable(const C& value):
|
||||||
/// Creates a Nullable with the given value.
|
/// Creates a Nullable with the given value.
|
||||||
_value(value),
|
_value(value),
|
||||||
_isNull(false)
|
_isNull(false),
|
||||||
|
_null()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
Nullable(const Nullable& other):
|
Nullable(const Nullable& other):
|
||||||
/// Creates a Nullable by copying another one.
|
/// Creates a Nullable by copying another one.
|
||||||
_value(other._value),
|
_value(other._value),
|
||||||
_isNull(other._isNull)
|
_isNull(other._isNull),
|
||||||
|
_null()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user