mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-18 19:10:11 +08:00
fix: initialize source_location correctly
This commit is contained in:
@@ -1569,7 +1569,7 @@ class basic_value
|
|||||||
|
|
||||||
source_location location() const
|
source_location location() const
|
||||||
{
|
{
|
||||||
return source_location(this->region_info_);
|
return source_location(this->region_info_.get());
|
||||||
}
|
}
|
||||||
|
|
||||||
comment_type const& comments() const noexcept {return this->comments_;}
|
comment_type const& comments() const noexcept {return this->comments_;}
|
||||||
|
Reference in New Issue
Block a user