Skip to content

Commit 06d0bb0

Browse files
committed
formatting
1 parent 22b0572 commit 06d0bb0

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

SentenceServer/Extension.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,24 +67,24 @@ int close_sock()
6767
template <typename F>
6868
HANDLE SpawnThread(const F &f)
6969
{
70-
F* copy = new F(f);
70+
F *copy = new F(f);
7171
return CreateThread(nullptr, 0, [](void *copy)
72-
{
73-
(*(F *)copy)();
74-
delete (F *)copy;
75-
return 0UL;
76-
}, copy, 0, nullptr);
72+
{
73+
(*(F *)copy)();
74+
delete (F *)copy;
75+
return 0UL;
76+
}, copy, 0, nullptr);
7777
}
7878

7979
/*
8080
template<typename F>
8181
HANDLE SpawnThread(const F& f)
8282
{
8383
return CreateThread(nullptr, 0, [](void *func)
84-
{
85-
(*(F *)func)();
86-
return 0UL;
87-
}, (F *)& f, 0, nullptr);
84+
{
85+
(*(F *)func)();
86+
return 0UL;
87+
}, (F *)& f, 0, nullptr);
8888
}
8989
*/
9090

0 commit comments

Comments
 (0)