mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-12 17:51:02 +00:00
Give little tag structs unique names so we don't violate the ODR
This commit is contained in:
@@ -36,6 +36,8 @@
|
||||
#include "Widgets/FindReplace.h"
|
||||
#include "ui_ShaderViewer.h"
|
||||
|
||||
namespace
|
||||
{
|
||||
struct CBufferTag
|
||||
{
|
||||
CBufferTag() {}
|
||||
@@ -50,6 +52,7 @@ struct ResourceTag
|
||||
ResourceTag(uint32_t r) : reg(r) {}
|
||||
uint32_t reg = 0;
|
||||
};
|
||||
};
|
||||
|
||||
Q_DECLARE_METATYPE(CBufferTag);
|
||||
Q_DECLARE_METATYPE(ResourceTag);
|
||||
|
||||
Reference in New Issue
Block a user