Skip to content
Snippets Groups Projects
Commit e46cf6c5 authored by Chandler Carruth's avatar Chandler Carruth
Browse files

Provide a default constructor for TimeValue. This was used, but only in

if-ed out code paths and on Windows. Hopefully restores the Windows
build. Thanks to Reid Kleckner for helping triage this.

llvm-svn: 171568
parent 0d6ecec6
No related branches found
No related tags found
No related merge requests found
......@@ -82,6 +82,9 @@ namespace sys {
/// @name Constructors
/// @{
public:
/// \brief Default construct a time value, initializing to ZeroTime.
TimeValue() : seconds_(0), nanos_(0) {}
/// Caller provides the exact value in seconds and nanoseconds. The
/// \p nanos argument defaults to zero for convenience.
/// @brief Explicit constructor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment