config/Param: inline the constructor
This commit is contained in:
parent
bf046d895e
commit
566af6827e
@ -25,9 +25,6 @@
|
||||
|
||||
#include <stdexcept>
|
||||
|
||||
ConfigParam::ConfigParam(const char *_value, int _line)
|
||||
:value(_value), line(_line) {}
|
||||
|
||||
ConfigParam::~ConfigParam()
|
||||
{
|
||||
delete next;
|
||||
|
@ -48,7 +48,8 @@ struct ConfigParam {
|
||||
:line(_line) {}
|
||||
|
||||
gcc_nonnull_all
|
||||
ConfigParam(const char *_value, int _line=-1);
|
||||
explicit ConfigParam(const char *_value, int _line=-1) noexcept
|
||||
:value(_value), line(_line) {}
|
||||
|
||||
ConfigParam(const ConfigParam &) = delete;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user