mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-12-16 03:08:52 +08:00
feat [skip ci]: update single_include
This commit is contained in:
@@ -1948,7 +1948,7 @@ struct source_location
|
|||||||
static source_location current() { return source_location{}; }
|
static source_location current() { return source_location{}; }
|
||||||
};
|
};
|
||||||
|
|
||||||
inline std::string to_string(const source_location& loc)
|
inline std::string to_string(const source_location&)
|
||||||
{
|
{
|
||||||
return std::string("");
|
return std::string("");
|
||||||
}
|
}
|
||||||
@@ -7350,19 +7350,20 @@ class basic_value
|
|||||||
{
|
{
|
||||||
switch(this->type_)
|
switch(this->type_)
|
||||||
{
|
{
|
||||||
case value_t::boolean : { boolean_ .~boolean_storage (); return; }
|
case value_t::boolean : { boolean_ .~boolean_storage (); break; }
|
||||||
case value_t::integer : { integer_ .~integer_storage (); return; }
|
case value_t::integer : { integer_ .~integer_storage (); break; }
|
||||||
case value_t::floating : { floating_ .~floating_storage (); return; }
|
case value_t::floating : { floating_ .~floating_storage (); break; }
|
||||||
case value_t::string : { string_ .~string_storage (); return; }
|
case value_t::string : { string_ .~string_storage (); break; }
|
||||||
case value_t::offset_datetime : { offset_datetime_.~offset_datetime_storage (); return; }
|
case value_t::offset_datetime : { offset_datetime_.~offset_datetime_storage (); break; }
|
||||||
case value_t::local_datetime : { local_datetime_ .~local_datetime_storage (); return; }
|
case value_t::local_datetime : { local_datetime_ .~local_datetime_storage (); break; }
|
||||||
case value_t::local_date : { local_date_ .~local_date_storage (); return; }
|
case value_t::local_date : { local_date_ .~local_date_storage (); break; }
|
||||||
case value_t::local_time : { local_time_ .~local_time_storage (); return; }
|
case value_t::local_time : { local_time_ .~local_time_storage (); break; }
|
||||||
case value_t::array : { array_ .~array_storage (); return; }
|
case value_t::array : { array_ .~array_storage (); break; }
|
||||||
case value_t::table : { table_ .~table_storage (); return; }
|
case value_t::table : { table_ .~table_storage (); break; }
|
||||||
default : { return; }
|
default : { break; }
|
||||||
}
|
}
|
||||||
this->type_ = value_t::empty;
|
this->type_ = value_t::empty;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T, typename U>
|
template<typename T, typename U>
|
||||||
|
|||||||
Reference in New Issue
Block a user