mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 08:40:55 +00:00
Replace use of std::pair with rdcpair wherever possible
* Only remaining uses in our code is when we're interacting with std::map where it uses std::pair internally
This commit is contained in:
@@ -572,7 +572,7 @@ struct ReplayCommand : public Command
|
||||
rdcstr remotePath = remote->CopyCaptureToRemote(filename.c_str(), NULL);
|
||||
|
||||
IReplayController *renderer = NULL;
|
||||
std::tie(status, renderer) = remote->OpenCapture(~0U, remotePath.c_str(), NULL);
|
||||
rdctie(status, renderer) = remote->OpenCapture(~0U, remotePath.c_str(), NULL);
|
||||
|
||||
if(status == ReplayStatus::Succeeded)
|
||||
{
|
||||
@@ -602,7 +602,7 @@ struct ReplayCommand : public Command
|
||||
|
||||
IReplayController *renderer = NULL;
|
||||
ReplayStatus status = ReplayStatus::InternalError;
|
||||
std::tie(status, renderer) = file->OpenCapture(NULL);
|
||||
rdctie(status, renderer) = file->OpenCapture(NULL);
|
||||
|
||||
file->Shutdown();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user