From 786cf4dc483c8959adfbe3487e75391050837817 Mon Sep 17 00:00:00 2001 From: baldurk Date: Tue, 17 May 2016 01:16:46 +0200 Subject: [PATCH] [VS2010] Change "using X = Y;" to "typedef Y X;" --- glslang/MachineIndependent/propagateNoContraction.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/glslang/MachineIndependent/propagateNoContraction.cpp b/glslang/MachineIndependent/propagateNoContraction.cpp index 24e47a74..743a676e 100644 --- a/glslang/MachineIndependent/propagateNoContraction.cpp +++ b/glslang/MachineIndependent/propagateNoContraction.cpp @@ -58,7 +58,7 @@ namespace { // For members of vector, matrix and arrays, they will be represented with the // same symbol ID of their container symbol objects. This is because their // precise'ness is always the same as their container symbol objects. -using ObjectAccessChain = std::string; +typedef std::string ObjectAccessChain; // The delimiter used in the ObjectAccessChain string to separate symbol ID and // different level of struct indices. @@ -66,14 +66,14 @@ const char ObjectAccesschainDelimiter = '/'; // Mapping from Symbol IDs of symbol nodes, to their defining operation // nodes. -using NodeMapping = std::unordered_multimap; +typedef std::unordered_multimap NodeMapping; // Mapping from object nodes to their accesschain info string. -using AccessChainMapping = std::unordered_map; +typedef std::unordered_map AccessChainMapping; // Set of object IDs. -using ObjectAccesschainSet = std::unordered_set; +typedef std::unordered_set ObjectAccesschainSet; // Set of return branch nodes. -using ReturnBranchNodeSet = std::unordered_set; +typedef std::unordered_set ReturnBranchNodeSet; // A helper function to tell whether a node is 'noContraction'. Returns true if // the node has 'noContraction' qualifier, otherwise false.