Commit 566af682 authored by Max Kellermann's avatar Max Kellermann

config/Param: inline the constructor

parent bf046d89
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment