mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-26 08:26:50 +00:00
Add typename for template parameter
This commit is contained in:
@@ -37,7 +37,7 @@ static void MakeSubpassLoadRP(RPCreateInfo &info, const RPCreateInfo *origInfo,
|
||||
// structs
|
||||
using SubpassInfo = typename std::remove_reference<decltype(info.pSubpasses[0])>::type;
|
||||
using AttachmentInfo =
|
||||
std::remove_cv<typename std::remove_reference<decltype(info.pAttachments[0])>::type>::type;
|
||||
typename std::remove_cv<typename std::remove_reference<decltype(info.pAttachments[0])>::type>::type;
|
||||
|
||||
SubpassInfo *sub = info.pSubpasses;
|
||||
AttachmentInfo *att = (AttachmentInfo *)info.pAttachments;
|
||||
|
||||
Reference in New Issue
Block a user