Skip to content

Commit b2aeb3f

Browse files
sqlite: reformat with clang-format version 15
1 parent 2c17bf3 commit b2aeb3f

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

src/node_sqlite.cc

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,8 @@ inline void RejectErr(Environment* env,
329329

330330
template <typename ErrFactory>
331331
requires requires(ErrFactory err_factory, Isolate* isolate) {
332-
{ err_factory(isolate) } -> std::convertible_to<Local<Value>>;
333-
}
332+
{ err_factory(isolate) } -> std::convertible_to<Local<Value>>;
333+
}
334334
inline void RejectErr(Environment* env,
335335
const FunctionCallbackInfo<Value>& args,
336336
ErrFactory&& err_factory) {
@@ -446,7 +446,7 @@ class CustomAggregate {
446446
static inline void xStepBase(sqlite3_context* ctx,
447447
int argc,
448448
sqlite3_value** argv,
449-
Global<Function> CustomAggregate::* mptr) {
449+
Global<Function> CustomAggregate::*mptr) {
450450
CustomAggregate* self =
451451
static_cast<CustomAggregate*>(sqlite3_user_data(ctx));
452452
Environment* env = self->env_;
@@ -3993,7 +3993,7 @@ literal FromColumn(sqlite3* db,
39933993
default:
39943994
UNREACHABLE("Bad SQLite value");
39953995
}
3996-
};
3996+
}
39973997

39983998
value FromRow(sqlite3* connection,
39993999
sqlite3_stmt* stmt,
@@ -4742,13 +4742,12 @@ class DatabaseOperationQueue {
47424742
}
47434743
template <typename Op, typename... Args>
47444744
requires is_operation_type<Op> &&
4745-
std::constructible_from<Operation,
4746-
std::in_place_type_t<Op>,
4745+
std::constructible_from<Operation, std::in_place_type_t<Op>,
47474746
Global<Promise::Resolver>&&,
4748-
Args&&...>
4749-
[[nodiscard]] QueuePushResult PushEmplace(Isolate* isolate,
4750-
Local<Promise::Resolver> resolver,
4751-
Args&&... args) {
4747+
Args&&...> [[nodiscard]] QueuePushResult
4748+
PushEmplace(Isolate* isolate,
4749+
Local<Promise::Resolver> resolver,
4750+
Args&&... args) {
47524751
return Push(Operation{std::in_place_type<Op>,
47534752
Global<Promise::Resolver>{isolate, resolver},
47544753
std::forward<Args>(args)...});

0 commit comments

Comments
 (0)