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