layers: use less of namespace std
Change to std::unordered_map instead of "using namespace std".
diff --git a/layers/threading.cpp b/layers/threading.cpp
index 238cca7..4689e94 100644
--- a/layers/threading.cpp
+++ b/layers/threading.cpp
@@ -27,7 +27,6 @@
#include <string.h>
#include <unordered_map>
#include <list>
-using namespace std;
#include "vulkan/vk_layer.h"
#include "vk_layer_config.h"
diff --git a/layers/threading.h b/layers/threading.h
index 05c6464..a45069f 100644
--- a/layers/threading.h
+++ b/layers/threading.h
@@ -56,7 +56,6 @@
};
struct layer_data;
-using namespace std;
static int threadingLockInitialized = 0;
static loader_platform_thread_mutex threadingLock;
@@ -66,7 +65,7 @@
public:
const char *typeName;
VkDebugReportObjectTypeEXT objectType;
- unordered_map<T, object_use_data> uses;
+ std::unordered_map<T, object_use_data> uses;
void startWrite(debug_report_data *report_data, T object)
{
VkBool32 skipCall = VK_FALSE;