File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ using SelectCallback = std::function<void(const Block& block)>;
8282using SelectCancelableCallback = std::function<bool (const Block& block)>;
8383using SelectServerLogCallback = std::function<bool (const Block& block)>;
8484using ProfileEventsCallback = std::function<bool (const Block& block)>;
85- using ProfileCallbak = std::function<void (const Profile& profile)>;
85+ using ProfileCallback = std::function<void (const Profile& profile)>;
8686
8787
8888class Query : public QueryEvents {
@@ -174,7 +174,7 @@ class Query : public QueryEvents {
174174 return *this ;
175175 }
176176
177- inline Query& OnProfile (ProfileCallbak cb) {
177+ inline Query& OnProfile (ProfileCallback cb) {
178178 profile_callback_cb_ = std::move (cb);
179179 return *this ;
180180 }
@@ -240,7 +240,7 @@ class Query : public QueryEvents {
240240 SelectCancelableCallback select_cancelable_cb_;
241241 SelectServerLogCallback select_server_log_cb_;
242242 ProfileEventsCallback profile_events_callback_cb_;
243- ProfileCallbak profile_callback_cb_;
243+ ProfileCallback profile_callback_cb_;
244244};
245245
246246}
You can’t perform that action at this time.
0 commit comments