Got rid of most using directives. Ported tests to python.
[invirt/third/libt4.git] / handle.cc
index 17d04af..926cb59 100644 (file)
--- a/handle.cc
+++ b/handle.cc
@@ -5,18 +5,18 @@ public:
     unique_ptr<rpcc> client;
     bool valid = true;
     string destination;
-    mutex client_mutex;
+    std::mutex client_mutex;
     hinfo(const string & destination_) : destination(destination_) {}
 };
 
-static mutex mgr_mutex;
-static map<string, shared_ptr<hinfo>> hmap;
+static std::mutex mgr_mutex;
+static std::map<string, shared_ptr<hinfo>> hmap;
 
 handle::handle(const string & destination) : destination_(destination) {
     lock ml(mgr_mutex);
     h = hmap[destination];
     if (!h || !h->valid)
-        h = (hmap[destination] = make_shared<hinfo>(destination));
+        h = (hmap[destination] = std::make_shared<hinfo>(destination));
 }
 
 rpcc * handle::safebind() {