forked from OSchip/llvm-project
Fix GCC build in C++14 w/o c++14 constexpr
llvm-svn: 337974
This commit is contained in:
parent
d6baff65f7
commit
b7e6c1d238
|
@ -229,7 +229,7 @@ struct time_util_base {
|
|||
.count();
|
||||
|
||||
private:
|
||||
#if _LIBCPP_STD_VER > 11
|
||||
#if _LIBCPP_STD_VER > 11 && !defined(_LIBCPP_HAS_NO_CXX14_CONSTEXPR)
|
||||
static constexpr fs_duration get_min_nsecs() {
|
||||
return duration_cast<fs_duration>(
|
||||
fs_nanoseconds(min_nsec_timespec) -
|
||||
|
|
Loading…
Reference in New Issue