From 2d3ca47fa9f5f29c04a1319d7dd3083260242e67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= Date: Fri, 1 Aug 2025 01:25:48 +0000 Subject: [PATCH] ProfileCallbak -> ProfileCallback --- clickhouse/query.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clickhouse/query.h b/clickhouse/query.h index 0dc82dd1..500cdaef 100644 --- a/clickhouse/query.h +++ b/clickhouse/query.h @@ -82,7 +82,7 @@ using SelectCallback = std::function; using SelectCancelableCallback = std::function; using SelectServerLogCallback = std::function; using ProfileEventsCallback = std::function; -using ProfileCallbak = std::function; +using ProfileCallback = std::function; class Query : public QueryEvents { @@ -174,7 +174,7 @@ class Query : public QueryEvents { return *this; } - inline Query& OnProfile(ProfileCallbak cb) { + inline Query& OnProfile(ProfileCallback cb) { profile_callback_cb_ = std::move(cb); return *this; } @@ -240,7 +240,7 @@ class Query : public QueryEvents { SelectCancelableCallback select_cancelable_cb_; SelectServerLogCallback select_server_log_cb_; ProfileEventsCallback profile_events_callback_cb_; - ProfileCallbak profile_callback_cb_; + ProfileCallback profile_callback_cb_; }; }