Remove 'using std::list'

This commit is contained in:
baldurk
2019-05-17 14:55:29 +01:00
parent e48065c96b
commit 725c207ec8
4 changed files with 5 additions and 10 deletions
+1 -3
View File
@@ -33,8 +33,6 @@
#include "d3d11_manager.h"
#include "d3d11_video.h"
using std::list;
struct MapIntercept
{
MapIntercept()
@@ -220,7 +218,7 @@ private:
DrawcallDescription m_ParentDrawcall;
std::map<ResourceId, DrawcallDescription> m_CmdLists;
list<DrawcallDescription *> m_DrawcallStack;
std::list<DrawcallDescription *> m_DrawcallStack;
D3D11ResourceManager *GetResourceManager();
static std::string GetChunkName(uint32_t idx);
+1 -3
View File
@@ -38,8 +38,6 @@
#include "gl_replay.h"
#include "gl_resources.h"
using std::list;
struct GLInitParams
{
GLInitParams();
@@ -238,7 +236,7 @@ private:
DrawcallDescription m_ParentDrawcall;
list<DrawcallDescription *> m_DrawcallStack;
std::list<DrawcallDescription *> m_DrawcallStack;
std::map<ResourceId, vector<EventUsage>> m_ResourceUses;
+1 -1
View File
@@ -264,7 +264,7 @@ void GLReplay::InitPostVSBuffers(uint32_t eventId)
if(dummyFrag)
drv.glAttachShader(feedbackProg, dummyFrag);
list<std::string> matrixVaryings; // matrices need some fixup
std::list<std::string> matrixVaryings; // matrices need some fixup
vector<const char *> varyings;
CopyProgramAttribBindings(stageSrcPrograms[0], feedbackProg, vsRefl);
+2 -3
View File
@@ -34,7 +34,6 @@
#include "vk_replay.h"
#include "vk_state.h"
using std::list;
using std::vector;
class VulkanShaderCache;
@@ -860,9 +859,9 @@ private:
byte *argend);
void InsertDrawsAndRefreshIDs(BakedCmdBufferInfo &cmdBufInfo);
list<VulkanDrawcallTreeNode *> m_DrawcallStack;
std::list<VulkanDrawcallTreeNode *> m_DrawcallStack;
list<VulkanDrawcallTreeNode *> &GetDrawcallStack()
std::list<VulkanDrawcallTreeNode *> &GetDrawcallStack()
{
if(m_LastCmdBufferID != ResourceId())
return m_BakedCmdBufferInfo[m_LastCmdBufferID].drawStack;