mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
fpga_clock: Don't use constexpr for time_points.
These are not constexpr on some compilers.
This commit is contained in:
@@ -11,7 +11,9 @@
|
||||
#include "llvm/raw_ostream.h"
|
||||
|
||||
namespace hal {
|
||||
constexpr fpga_clock::time_point fpga_clock::min_time;
|
||||
const fpga_clock::time_point fpga_clock::min_time =
|
||||
fpga_clock::time_point(fpga_clock::duration(
|
||||
std::numeric_limits<fpga_clock::duration::rep>::min()));
|
||||
|
||||
fpga_clock::time_point fpga_clock::now() noexcept {
|
||||
int32_t status = 0;
|
||||
|
||||
Reference in New Issue
Block a user