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:
baldurk
2019-05-17 14:00:20 +01:00
parent 462772af91
commit e48065c96b
57 changed files with 268 additions and 340 deletions
+2 -2
View File
@@ -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();