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
@@ -422,7 +422,7 @@ void ReplayManager::run(int proxyRenderer, const QString &capturefile,
if(m_Remote)
{
std::tie(m_CreateStatus, m_Renderer) =
rdctie(m_CreateStatus, m_Renderer) =
m_Remote->OpenCapture(proxyRenderer, capturefile.toUtf8().data(), progress);
}
else
@@ -432,7 +432,7 @@ void ReplayManager::run(int proxyRenderer, const QString &capturefile,
m_CreateStatus = m_CaptureFile->OpenFile(capturefile.toUtf8().data(), "rdc", NULL);
if(m_CreateStatus == ReplayStatus::Succeeded)
std::tie(m_CreateStatus, m_Renderer) = m_CaptureFile->OpenCapture(progress);
rdctie(m_CreateStatus, m_Renderer) = m_CaptureFile->OpenCapture(progress);
}
if(m_Renderer == NULL)