mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-16 16:28:09 +08:00
fix: add missing zero initialization to region
This commit is contained in:
@@ -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).
|
||||
|
Reference in New Issue
Block a user