init to 0
This commit is contained in:
parent
fd281ea056
commit
9fafccf65f
@ -8,6 +8,7 @@ Fixed::~Fixed()
|
||||
|
||||
Fixed::Fixed()
|
||||
{
|
||||
this->_value = 0;
|
||||
std::cout << "Default constructor called" << std::endl;
|
||||
}
|
||||
|
||||
|
@ -10,6 +10,7 @@ Fixed::~Fixed()
|
||||
|
||||
Fixed::Fixed()
|
||||
{
|
||||
this->_value = 0;
|
||||
std::cout << "Default constructor called" << std::endl;
|
||||
}
|
||||
|
||||
|
@ -10,6 +10,7 @@ Fixed::~Fixed()
|
||||
|
||||
Fixed::Fixed()
|
||||
{
|
||||
this->_value = 0;
|
||||
std::cout << "Default constructor called" << std::endl;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user