noexcept: please gcc snapshot

* bin/common_finput.hh,
bin/common_trans.cc,
bin/common_trans.hh,
spot/misc/minato.hh,
spot/ta/ta.cc,
spot/ta/ta.hh,
spot/twa/acc.hh,
spot/twaalgos/cycles.hh,
spot/twaalgos/emptiness.hh,
spot/twaalgos/gtec/gtec.hh,
spot/twaalgos/ndfs_result.hxx,
spot/twaalgos/sccinfo.hh,
spot/twaalgos/word.cc,
spot/twaalgos/word.hh: Here.
This commit is contained in:
Etienne Renault 2018-11-28 16:23:14 +01:00 committed by root
parent b8164ef979
commit c2c8d21538
14 changed files with 26 additions and 26 deletions

View file

@ -30,7 +30,7 @@ struct job
const char* str;
bool file_p; // true if str is a filename, false if it is a formula
job(const char* str, bool file_p)
job(const char* str, bool file_p) noexcept
: str(str), file_p(file_p)
{
}

View file

@ -88,7 +88,7 @@ static void show_shorthands(shorthands_t* begin, shorthands_t* end)
tool_spec::tool_spec(const char* spec, shorthands_t* begin, shorthands_t* end,
bool is_ref)
bool is_ref) noexcept
: spec(spec), cmd(spec), name(spec), reference(is_ref)
{
if (*cmd == '{')
@ -150,7 +150,7 @@ tool_spec::tool_spec(const char* spec, shorthands_t* begin, shorthands_t* end,
cmd = strdup(cmd);
}
tool_spec::tool_spec(const tool_spec& other)
tool_spec::tool_spec(const tool_spec& other) noexcept
: spec(other.spec), cmd(other.cmd), name(other.name),
reference(other.reference)
{

View file

@ -51,8 +51,8 @@ struct tool_spec
bool reference;
tool_spec(const char* spec, shorthands_t* begin, shorthands_t* end,
bool is_ref);
tool_spec(const tool_spec& other);
bool is_ref) noexcept;
tool_spec(const tool_spec& other) noexcept;
tool_spec& operator=(const tool_spec& other);
~tool_spec();
};