Skip to content

Commit

Permalink
Namespace doesn't need to be followed by semicolon
Browse files Browse the repository at this point in the history
Summary:
Auto-generated with
```
fbgs "}; // namespace" -l | sort | uniq | sed 's/fbsource.//' | xargs -n 50 sed -i 's_}; // namespace_} // namespace_'
```

Reviewed By: dmm-fb

Differential Revision: D51029740

fbshipit-source-id: 177e3f6e6b0ab7e986b1147952cd5e2f59d4b1fc
  • Loading branch information
r-barnes authored and facebook-github-bot committed Nov 6, 2023
1 parent 18e4841 commit 145b111
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class DatagramClient
std::array<char, kMaxReadBufferSize> buf_;
bool closing_{false};
};
}; // namespace
} // namespace

int main(int argc, char* argv[]) {
#if FOLLY_HAVE_LIBGFLAGS
Expand Down
2 changes: 1 addition & 1 deletion proxygen/httpserver/samples/hq/FizzContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg/NeWSkmQEmaO2f0T
VnFqMCnjdeFhc/LA6rx3ALn2jfDj9jQR0QGRouFA7NbYZFx7Uj3HOw0/
-----END PRIVATE KEY-----
)";
}; // namespace
} // namespace

namespace quic::samples {
FizzServerContextPtr createFizzServerContext(const HQServerParams& params) {
Expand Down
2 changes: 1 addition & 1 deletion proxygen/lib/http/session/HQStreamBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@ size_t HQStreamBase::generateStreamPreface() {
CHECK(!res.hasError());
return res.value();
}
}; // namespace proxygen
} // namespace proxygen
2 changes: 1 addition & 1 deletion proxygen/lib/http/session/test/MockQuicSocketDriver.h
Original file line number Diff line number Diff line change
Expand Up @@ -1778,6 +1778,6 @@ class MockQuicSocketDriver : public folly::EventBase::LoopCallback {
folly::SocketAddress peerAddress_;
std::shared_ptr<proxygen::MockAsyncTransportCertificate> mockCertificate{
std::make_shared<proxygen::MockAsyncTransportCertificate>()};
}; // namespace quic
} // namespace quic

} // namespace quic
2 changes: 1 addition & 1 deletion proxygen/lib/transport/test/H3DatagramAsyncSocketTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ class H3DatagramAsyncSocketTest : public testing::Test {
proxygen::H3DatagramAsyncSocket::Options options_;
char buf_[kMaxDatagramSize];
};
}; // namespace proxygen
} // namespace proxygen

0 comments on commit 145b111

Please sign in to comment.