more noexcept to pleace GCC
* spot/bricks/brick-hashset (Row): Add noexcept. * bin/autcross.cc (out_statistics): Likewise. * bin/ltlcross.cc (statistics): Likewise.
This commit is contained in:
parent
a23b30abdc
commit
2a4e68bfae
3 changed files with 3 additions and 4 deletions
|
|
@ -345,7 +345,6 @@ struct in_statistics
|
||||||
|
|
||||||
struct out_statistics
|
struct out_statistics
|
||||||
{
|
{
|
||||||
|
|
||||||
// If OK is false, output statistics are not available.
|
// If OK is false, output statistics are not available.
|
||||||
bool ok;
|
bool ok;
|
||||||
const char* status_str;
|
const char* status_str;
|
||||||
|
|
@ -353,7 +352,7 @@ struct out_statistics
|
||||||
double time;
|
double time;
|
||||||
aut_statistics output;
|
aut_statistics output;
|
||||||
|
|
||||||
out_statistics()
|
out_statistics() noexcept
|
||||||
: ok(false),
|
: ok(false),
|
||||||
status_str(nullptr),
|
status_str(nullptr),
|
||||||
status_code(0),
|
status_code(0),
|
||||||
|
|
|
||||||
|
|
@ -264,7 +264,7 @@ end_error()
|
||||||
|
|
||||||
struct statistics
|
struct statistics
|
||||||
{
|
{
|
||||||
statistics()
|
statistics() noexcept
|
||||||
: ok(false),
|
: ok(false),
|
||||||
alternating(false),
|
alternating(false),
|
||||||
status_str(nullptr),
|
status_str(nullptr),
|
||||||
|
|
|
||||||
|
|
@ -583,7 +583,7 @@ struct _ConcurrentHashSet : HashSetBase< Cell >
|
||||||
return begin() + size();
|
return begin() + size();
|
||||||
}
|
}
|
||||||
|
|
||||||
Row() : _data( nullptr ), _size( 0 ) {}
|
Row() noexcept : _data( nullptr ), _size( 0 ) {}
|
||||||
~Row() { free(); }
|
~Row() { free(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue