diff --git a/toml/value.hpp b/toml/value.hpp index 56bb948..3d24c83 100644 --- a/toml/value.hpp +++ b/toml/value.hpp @@ -1569,7 +1569,7 @@ class basic_value 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_;}