Skip to content

Commit

Permalink
Add missing include of <ctime>
Browse files Browse the repository at this point in the history
The type `std::time_t` is used in this file. `std::time_t` is defined in
`<ctime>`, but was not previously included. This caused build failures
locally, when building with Visual Studio Community 2019 Version 16.7.4.
  • Loading branch information
thomasspriggs committed Aug 31, 2023
1 parent 3e3ba26 commit dcc5934
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/goto-checker/symex_coverage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Date: March 2016
#include <linking/static_lifetime_init.h>

#include <chrono> // IWYU pragma: keep
#include <ctime> // IWYU pragma: keep - For std::time_t
#include <fstream> // IWYU pragma: keep
#include <iostream>

Expand Down

0 comments on commit dcc5934

Please sign in to comment.