Skip to content

Commit 8547904

Browse files
authored
Merge pull request #122 from masx200/deno-dependency-updates
Update dependencies
2 parents d7560fe + fbeb318 commit 8547904

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

ipo/index.ixx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ using std::priority_queue;
1010
using std::vector;
1111
namespace leetcode_test::ipo {
1212
export class Solution {
13-
public:
14-
int findMaximizedCapital(int k, int w, vector<int> &profits,
15-
vector<int> &capital) {
13+
public:
14+
int findMaximizedCapital(int k, int w, vector<int>& profits,
15+
vector<int>& capital)
16+
{
1617
int n = profits.size();
1718
int curr = 0;
1819
priority_queue<int, vector<int>, less<int>> pq;

print-in-order/index.ixx

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,32 @@ using std::future;
77
export module leetcode_test.print_in_order.Foo;
88
namespace leetcode_test::print_in_order {
99
export class Foo {
10-
private:
10+
private:
1111
std::promise<void> outpromise2;
1212
std::promise<void> outpromise3;
1313

14-
public:
15-
Foo() {}
14+
public:
15+
Foo() { }
1616

17-
void first(function<void()> printFirst) {
17+
void first(function<void()> printFirst)
18+
{
1819

1920
// printFirst() outputs "first". Do not change or remove this line.
2021
printFirst();
2122
outpromise2.set_value();
2223
}
2324

24-
void second(function<void()> printSecond) {
25+
void second(function<void()> printSecond)
26+
{
2527
future<void> fu = outpromise2.get_future();
2628
fu.get();
2729
// printSecond() outputs "second". Do not change or remove this line.
2830
printSecond();
2931
outpromise3.set_value();
3032
}
3133

32-
void third(function<void()> printThird) {
34+
void third(function<void()> printThird)
35+
{
3336
future<void> fu = outpromise3.get_future();
3437
fu.get();
3538
// printThird() outputs "third". Do not change or remove this line.

0 commit comments

Comments
 (0)