From 05f4c0f54f0563ed1425f197302752e5bbac3785 Mon Sep 17 00:00:00 2001 From: Marco Marinangeli Date: Tue, 13 Oct 2020 02:59:07 -0700 Subject: [PATCH] Fix ConnectionContextStore namespaces (#1581) Summary: It should fix this [issue](https://github.com/facebook/flipper/issues/1565) I'm not a C++ expert. Any kind of comment or advice is very appreciated. Pull Request resolved: https://github.com/facebook/flipper/pull/1581 Reviewed By: passy Differential Revision: D24189366 Pulled By: mweststrate fbshipit-source-id: cc93fe36036d557b63c9c1baa62ed9bcc14c08ab --- xplat/Flipper/ConnectionContextStore.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/xplat/Flipper/ConnectionContextStore.cpp b/xplat/Flipper/ConnectionContextStore.cpp index 59be9b3ba..59c3d4a3d 100644 --- a/xplat/Flipper/ConnectionContextStore.cpp +++ b/xplat/Flipper/ConnectionContextStore.cpp @@ -12,7 +12,9 @@ #include #include "CertificateUtils.h" #include "Log.h" -using namespace facebook::flipper; + +namespace facebook { +namespace flipper { static constexpr auto CSR_FILE_NAME = "app.csr"; static constexpr auto FLIPPER_CA_FILE_NAME = "sonarCA.crt"; @@ -162,3 +164,6 @@ bool fileExists(std::string fileName) { struct stat buffer; return stat(fileName.c_str(), &buffer) == 0; } + +} // namespace flipper +} // namespace facebook