Skip to content

Commit b909141

Browse files
generatedunixname89002005287564facebook-github-bot
generatedunixname89002005287564
authored andcommitted
Fix CQS signal. Id] 70680548 -- modernize-concat-nested-namespaces in fbcode/proxygen/lib/http
Reviewed By: dtolnay Differential Revision: D74311340 fbshipit-source-id: d2b313db4d36f171e14b8468f41097441fe17f80
1 parent d215999 commit b909141

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

proxygen/lib/http/HeaderConstants.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#include <proxygen/lib/http/HeaderConstants.h>
1010

11-
namespace proxygen { namespace headers {
11+
namespace proxygen::headers {
1212

1313
const std::string kAuthority(":authority");
1414
const std::string kMethod(":method");
@@ -24,4 +24,4 @@ const std::string kMasque("masque");
2424
const std::string kWebsocketString("websocket");
2525
const std::string kStatus200("200");
2626

27-
}} // namespace proxygen::headers
27+
} // namespace proxygen::headers

proxygen/lib/http/HeaderConstants.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
#include <string>
1212

13-
namespace proxygen { namespace headers {
13+
namespace proxygen::headers {
1414
extern const std::string kAuthority;
1515
extern const std::string kMethod;
1616
extern const std::string kPath;
@@ -25,4 +25,4 @@ extern const std::string kMasque;
2525
extern const std::string kWebsocketString;
2626
extern const std::string kStatus200;
2727

28-
}} // namespace proxygen::headers
28+
} // namespace proxygen::headers

proxygen/lib/http/RFC2616.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ bool equalsIgnoreCase(folly::StringPiece s1, folly::StringPiece s2) {
4444
}
4545
} // namespace
4646

47-
namespace proxygen { namespace RFC2616 {
47+
namespace proxygen::RFC2616 {
4848

4949
BodyAllowed isRequestBodyAllowed(folly::Optional<HTTPMethod> method) {
5050
if (method == HTTPMethod::TRACE) {
@@ -237,4 +237,4 @@ bool acceptsEncoding(const EncodingList& encodings,
237237
return false;
238238
}
239239

240-
}} // namespace proxygen::RFC2616
240+
} // namespace proxygen::RFC2616

0 commit comments

Comments
 (0)