mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2024-12-22 11:55:30 +00:00
Fix intial value for stats_item_total
This commit is contained in:
parent
de2f887c4f
commit
633fcd72cb
@ -190,7 +190,7 @@ int main(int argc, const char **argv) {
|
|||||||
};
|
};
|
||||||
std::vector<StatsItem> stats;
|
std::vector<StatsItem> stats;
|
||||||
std::map<std::string, size_t> stats_index;
|
std::map<std::string, size_t> stats_index;
|
||||||
size_t stats_item_total = false;
|
size_t stats_item_total = 0;
|
||||||
|
|
||||||
if (opt_profile) {
|
if (opt_profile) {
|
||||||
parser.enable_trace(
|
parser.enable_trace(
|
||||||
|
Loading…
Reference in New Issue
Block a user