mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-12-16 03:08:52 +08:00
Merge pull request #268 from kontura/zero-init
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