fix: invert already sign condition
This commit is contained in:
parent
011b79fcb6
commit
1425b1bcf3
@ -44,7 +44,7 @@ Form& Form::operator=(const Form& src)
|
|||||||
|
|
||||||
void Form::beSigned(const Bureaucrat &bureaucrat)
|
void Form::beSigned(const Bureaucrat &bureaucrat)
|
||||||
{
|
{
|
||||||
if (this->_signed == false)
|
if (this->_signed == true)
|
||||||
{
|
{
|
||||||
std::cout << bureaucrat.getName() << " couldn't sign " << this->_name << " because " << "the form is already sign" << std::endl;
|
std::cout << bureaucrat.getName() << " couldn't sign " << this->_name << " because " << "the form is already sign" << std::endl;
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user