Skip to content

Commit

Permalink
[core] Fix build error when -DSRT_DEBUG_TRACE_DRIFT=1
Browse files Browse the repository at this point in the history
  • Loading branch information
quink-black authored and maxsharabayko committed Jun 3, 2021
1 parent b4a5887 commit d6e8e21
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions srtcore/tsbpd_time.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace srt
#if SRT_DEBUG_TRACE_DRIFT
class drift_logger
{
using steady_clock = srt::sync::steady_clock;
typedef srt::sync::steady_clock steady_clock;

public:
drift_logger() {}
Expand All @@ -33,12 +33,12 @@ class drift_logger
m_fout.close();
}

void trace(unsigned ackack_timestamp,
int rtt_us,
int64_t drift_sample,
int64_t drift,
int64_t overdrift,
const std::chrono::steady_clock::time_point& tsbpd_base)
void trace(unsigned ackack_timestamp,
int rtt_us,
int64_t drift_sample,
int64_t drift,
int64_t overdrift,
const srt::sync::steady_clock::time_point& tsbpd_base)
{
using namespace srt::sync;
ScopedLock lck(m_mtx);
Expand Down

0 comments on commit d6e8e21

Please sign in to comment.