From c7779226cb97ffa94233d4cd63b7d53481e67bbd Mon Sep 17 00:00:00 2001 From: Tobin Ehlis Date: Wed, 8 Feb 2017 12:03:56 -0700 Subject: layers:Remove "using namespace std" statement Remove "using namespace std;" statement from core validation. This is prohibited in the coding standard. Replace with specific "using" statements for the parts of std that we use. --- layers/core_validation.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 52a0785b..7594ca11 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -82,12 +82,15 @@ // This intentionally includes a cpp file #include "vk_safe_struct.cpp" -using namespace std; - namespace core_validation { using std::unordered_map; using std::unordered_set; +using std::unique_ptr; +using std::vector; +using std::string; +using std::stringstream; +using std::max; // WSI Image Objects bypass usual Image Object creation methods. A special Memory // Object value will be used to identify them internally. -- cgit v1.2.3