clean: remove sign to the form constructor
This commit is contained in:
parent
077c151636
commit
4198110184
@ -15,13 +15,13 @@ Form::Form(const Form& src)
|
|||||||
*this = src;
|
*this = src;
|
||||||
}
|
}
|
||||||
|
|
||||||
Form::Form(const std::string& name, bool signd, int to_execute, int to_sign):
|
Form::Form(const std::string& name, int to_execute, int to_sign):
|
||||||
_name(name),
|
_name(name),
|
||||||
_signed(signd),
|
_signed(0),
|
||||||
_to_sign(to_sign),
|
_to_sign(to_sign),
|
||||||
_to_execute(to_execute)
|
_to_execute(to_execute)
|
||||||
{
|
{
|
||||||
std::cout << "Form(" << name << ", " << signd << ", " << to_execute << ", " << to_sign << ")" << std::endl;
|
std::cout << "Form(" << name << ", " << to_execute << ", " << to_sign << ")" << std::endl;
|
||||||
if (to_execute > 150 || to_sign < 1)
|
if (to_execute > 150 || to_sign < 1)
|
||||||
throw GradeTooLowException();
|
throw GradeTooLowException();
|
||||||
if (to_execute < 1 || to_sign < 1)
|
if (to_execute < 1 || to_sign < 1)
|
||||||
|
@ -17,7 +17,7 @@ class Form
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
Form();
|
Form();
|
||||||
Form(const std::string& name, bool signd, int to_execute, int to_sign);
|
Form(const std::string& name, int to_execute, int to_sign);
|
||||||
Form(const Form& src);
|
Form(const Form& src);
|
||||||
~Form();
|
~Form();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user