Skip to content

Commit 22dc944

Browse files
authored
Merge pull request #433 from serprex/fix-typo
ProfileCallbak -> ProfileCallback
2 parents cae657a + 2d3ca47 commit 22dc944

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clickhouse/query.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ using SelectCallback = std::function<void(const Block& block)>;
8282
using SelectCancelableCallback = std::function<bool(const Block& block)>;
8383
using SelectServerLogCallback = std::function<bool(const Block& block)>;
8484
using 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

8888
class 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
}

0 commit comments

Comments
 (0)