fix: initialize source_location correctly

This commit is contained in:
ToruNiina
2019-06-26 21:35:01 +09:00
parent 76e44a0c48
commit 6b5fd349aa

View File

@@ -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_;}