summaryrefslogtreecommitdiff
path: root/src/main/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/main.cpp')
-rw-r--r--src/main/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/main.cpp b/src/main/main.cpp
index eb313c3bd..65b341a12 100644
--- a/src/main/main.cpp
+++ b/src/main/main.cpp
@@ -66,7 +66,9 @@ int main(int argc, char* argv[]) {
} else {
*opts.getErr() << "(error \"" << e << "\")" << endl;
}
- if(opts.getStatistics() && pExecutor != NULL) {
+ if (opts.getStatistics() && pExecutor != nullptr)
+ {
+ totalTime.reset();
pExecutor->flushStatistics(*opts.getErr());
}
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback