aboutsummaryrefslogtreecommitdiff
path: root/layers/core_validation.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2017-02-08 12:03:56 -0700
committerTobin Ehlis <tobine@google.com>2017-02-08 15:46:17 -0700
commitc7779226cb97ffa94233d4cd63b7d53481e67bbd (patch)
treebdaa48313855c8a9377c63aac68452716e6cc320 /layers/core_validation.cpp
parent80c114da639d6d8985a78d267fc0532b78a301ea (diff)
downloadusermoji-c7779226cb97ffa94233d4cd63b7d53481e67bbd.tar.xz
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.
Diffstat (limited to 'layers/core_validation.cpp')
-rw-r--r--layers/core_validation.cpp7
1 files 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.