mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
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
This commit is contained in:
parent
09515dcbcd
commit
c082468143
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user