mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-17 09:08:08 +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
|
// a value that is constructed manually does not have input stream info
|
||||||
region()
|
region()
|
||||||
: source_(nullptr), source_name_(""), length_(0),
|
: 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).
|
// a value defined in [first, last).
|
||||||
|
Reference in New Issue
Block a user