| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -371,11 +371,11 @@ class QueryWrap : public AsyncWrap { | |||
| 371 | 371 | // Subclasses should implement the appropriate Parse method. | |
| 372 | 372 | virtual void Parse(unsigned char* buf, int len) { | |
| 373 | 373 | UNREACHABLE(); | |
| 374 | - }; | ||
| 374 | + } | ||
| 375 | 375 | ||
| 376 | 376 | virtual void Parse(struct hostent* host) { | |
| 377 | 377 | UNREACHABLE(); | |
| 378 | - }; | ||
| 378 | + } | ||
| 379 | 379 | }; | |
| 380 | 380 | ||
| 381 | 381 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -575,23 +575,23 @@ Agent::~Agent() { | |||
| 575 | 575 | ||
| 576 | 576 | void Agent::Start(v8::Platform* platform, int port, bool wait) { | |
| 577 | 577 | impl->Start(platform, port, wait); | |
| 578 | - }; | ||
| 578 | + } | ||
| 579 | 579 | ||
| 580 | 580 | void Agent::Stop() { | |
| 581 | 581 | impl->Stop(); | |
| 582 | - }; | ||
| 582 | + } | ||
| 583 | 583 | ||
| 584 | 584 | bool Agent::IsStarted() { | |
| 585 | 585 | return impl->IsStarted(); | |
| 586 | - }; | ||
| 586 | + } | ||
| 587 | 587 | ||
| 588 | 588 | bool Agent::IsConnected() { | |
| 589 | 589 | return impl->IsConnected(); | |
| 590 | - }; | ||
| 590 | + } | ||
| 591 | 591 | ||
| 592 | 592 | void Agent::WaitForDisconnect() { | |
| 593 | 593 | impl->WaitForDisconnect(); | |
| 594 | - }; | ||
| 594 | + } | ||
| 595 | 595 | ||
| 596 | 596 | } // namespace inspector | |
| 597 | 597 | } // namespace node | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -107,9 +107,9 @@ struct StringPtr { | |||
| 107 | 107 | ||
| 108 | 108 | ||
| 109 | 109 | void Update(const char* str, size_t size) { | |
| 110 | - if (str_ == nullptr) | ||
| 110 | + if (str_ == nullptr) { | ||
| 111 | 111 | str_ = str; | |
| 112 | - else if (on_heap_ || str_ + size_ != str) { | ||
| 112 | + } else if (on_heap_ || str_ + size_ != str) { | ||
| 113 | 113 | // Non-consecutive input, make a copy on the heap. | |
| 114 | 114 | // TODO(bnoordhuis) Use slab allocation, O(n) allocs is bad. | |
| 115 | 115 | char* s = new char[size_ + size]; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -292,7 +292,7 @@ SigintWatchdogHelper::SigintWatchdogHelper() | |||
| 292 | 292 | ||
| 293 | 293 | CHECK_EQ(0, uv_mutex_init(&mutex_)); | |
| 294 | 294 | CHECK_EQ(0, uv_mutex_init(&list_mutex_)); | |
| 295 | - }; | ||
| 295 | + } | ||
| 296 | 296 | ||
| 297 | 297 | ||
| 298 | 298 | SigintWatchdogHelper::~SigintWatchdogHelper() { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments