about summary refs log tree commit diff
path: root/third_party/nix/src/nix/ping-store.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/nix/ping-store.cc')
-rw-r--r--third_party/nix/src/nix/ping-store.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/nix/src/nix/ping-store.cc b/third_party/nix/src/nix/ping-store.cc
index 78a79b037b43..4a33486bf8c6 100644
--- a/third_party/nix/src/nix/ping-store.cc
+++ b/third_party/nix/src/nix/ping-store.cc
@@ -2,8 +2,7 @@
 #include "libstore/store-api.hh"
 #include "nix/command.hh"
 
-using namespace nix;
-
+namespace nix {
 struct CmdPingStore final : StoreCommand {
   std::string name() override { return "ping-store"; }
 
@@ -21,5 +20,6 @@ struct CmdPingStore final : StoreCommand {
 
   void run(ref<Store> store) override { store->connect(); }
 };
+}  // namespace nix
 
-static RegisterCommand r1(make_ref<CmdPingStore>());
+static nix::RegisterCommand r1(nix::make_ref<nix::CmdPingStore>());