diff options
Diffstat (limited to 'tools/minicargo/toml.h')
-rw-r--r-- | tools/minicargo/toml.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/minicargo/toml.h b/tools/minicargo/toml.h index 6f145a2e..315cf62f 100644 --- a/tools/minicargo/toml.h +++ b/tools/minicargo/toml.h @@ -74,6 +74,11 @@ struct TomlValue m_str_value(::std::move(s)) { } + TomlValue(int64_t v): + m_type(Type::Integer), + m_int_value(v) + { + } TomlValue(bool v) : m_type(Type::Boolean), m_int_value(v ? 1 : 0) |