mirror of
https://github.com/ToruNiina/toml11.git
synced 2024-11-14 00:30:06 +00:00
fix: add missing zero initialization to region
This commit is contained in:
parent
cc0bee4fd4
commit
9c7cef94a5
@ -34,7 +34,8 @@ class region
|
||||
// a value that is constructed manually does not have input stream info
|
||||
region()
|
||||
: source_(nullptr), source_name_(""), length_(0),
|
||||
first_line_(0), first_column_(0), last_line_(0), last_column_(0)
|
||||
first_(0), first_line_(0), first_column_(0), last_(0), last_line_(0),
|
||||
last_column_(0)
|
||||
{}
|
||||
|
||||
// a value defined in [first, last).
|
||||
|
Loading…
Reference in New Issue
Block a user