generator: make dtor noexcept
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
55a19e6681
commit
fb02ef9a23
|
@ -27,7 +27,7 @@ Generator::Generator() /*noexcept*/ {
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Generator::~Generator() = default;
|
Generator::~Generator() noexcept {};
|
||||||
|
|
||||||
|
|
||||||
void Generator::initialize_generator(){
|
void Generator::initialize_generator(){
|
||||||
|
|
|
@ -12,7 +12,7 @@ namespace generator {
|
||||||
class Generator {
|
class Generator {
|
||||||
public:
|
public:
|
||||||
Generator(); // ad noexcept: perhaps _do_ throw*
|
Generator(); // ad noexcept: perhaps _do_ throw*
|
||||||
~Generator();
|
~Generator() noexcept;
|
||||||
|
|
||||||
/* n is the number of random bytes to generate */
|
/* n is the number of random bytes to generate */
|
||||||
auto generate_random_data(uint n) -> std::string;
|
auto generate_random_data(uint n) -> std::string;
|
||||||
|
|
Reference in New Issue