fixed issues reported by Klocwork

This commit is contained in:
Guenter Obiltschnig 2016-09-26 18:15:36 +02:00
parent b0140637d5
commit 78f954f58f

View File

@ -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()
{
}