Unverified Commit 1663a25a authored by Ge Jun's avatar Ge Jun Committed by GitHub

Merge pull request #491 from fankux/master

fix compiling error on macos caused by 'DVLOG_IF'
parents 95285fe7 1ace3995
......@@ -147,8 +147,9 @@ void SetPriorityRealtimeAudio(mach_port_t mach_thread_id) {
THREAD_TIME_CONSTRAINT_POLICY,
reinterpret_cast<thread_policy_t>(&time_constraints),
THREAD_TIME_CONSTRAINT_POLICY_COUNT);
DVLOG_IF(1, result != KERN_SUCCESS) << "Fail to call thread_policy_set";
if (result != KERN_SUCCESS) {
DVLOG(1) << "Fail to call thread_policy_set";
}
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment