mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Fixed non-standard build
This commit is contained in:
parent
3f2d857cb1
commit
98c3ff92ae
@ -176,6 +176,7 @@ QueryProfilerBase<ProfilerImpl>::QueryProfilerBase(const Int32 thread_id, const
|
||||
throw;
|
||||
}
|
||||
#else
|
||||
UNUSED(thread_id, clock_type, period, pause_signal);
|
||||
throw Exception("QueryProfiler cannot work with stock libunwind", ErrorCodes::NOT_IMPLEMENTED);
|
||||
#endif
|
||||
}
|
||||
|
@ -142,4 +142,4 @@
|
||||
|
||||
/// A macro for suppressing warnings about unused variables or function results.
|
||||
/// Useful for structured bindings which have no standard way to declare this.
|
||||
#define UNUSED(X) (void) (X)
|
||||
#define UNUSED(...) (void)(__VA_ARGS__)
|
||||
|
Loading…
Reference in New Issue
Block a user