Skip to content

Commit

Permalink
Don't use int64_t in template for QNX
Browse files Browse the repository at this point in the history
  • Loading branch information
Bidski committed Nov 3, 2023
1 parent 9429ae8 commit 93b1c79
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/dsl/emit/Delay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ namespace {
std::vector<std::string> events; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)

/// @brief Test units are the time units the test is performed in
#ifdef __QNX__
using TestUnits = std::chrono::duration<long long, std::ratio<1, 20>>;
#else
using TestUnits = std::chrono::duration<int64_t, std::ratio<1, 20>>;
#endif
/// @brief Perform this many different time points for the test
constexpr int test_loops = 5;

Expand Down

0 comments on commit 93b1c79

Please sign in to comment.