Be compliant and return 0 from main.

Fixes #713
This commit is contained in:
Dominic Hamon 2021-04-27 16:54:53 +01:00
parent 264976def3
commit 835951aa44
1 changed files with 1 additions and 0 deletions

View File

@ -1301,6 +1301,7 @@ class Fixture : public internal::Benchmark {
::benchmark::Initialize(&argc, argv); \
if (::benchmark::ReportUnrecognizedArguments(argc, argv)) return 1; \
::benchmark::RunSpecifiedBenchmarks(); \
return 0; \
} \
int main(int, char**)