Fix build error when using NANO_TIMED_LOCKS_IGNORE_BLOCKED (#2927)
This commit is contained in:
parent
e2ec2fbf48
commit
aa5c5fd5ce
1 changed files with 2 additions and 0 deletions
|
@ -46,7 +46,9 @@ void output_if_blocked_long_enough (nano::timer<std::chrono::milliseconds> & tim
|
|||
// Explicit instantations
|
||||
template void output (const char * str, std::chrono::milliseconds time, std::mutex & mutex);
|
||||
template void output_if_held_long_enough (nano::timer<std::chrono::milliseconds> & timer, std::mutex & mutex);
|
||||
#ifndef NANO_TIMED_LOCKS_IGNORE_BLOCKED
|
||||
template void output_if_blocked_long_enough (nano::timer<std::chrono::milliseconds> & timer, std::mutex & mutex);
|
||||
#endif
|
||||
|
||||
lock_guard<std::mutex>::lock_guard (std::mutex & mutex) :
|
||||
mut (mutex)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue