mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-16 12:24:03 +00:00
[C++11] Replace llvm::tie with std::tie.
The old implementation is no longer needed in C++11. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202644 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -42,7 +42,7 @@ LockFileManager::readLockFile(StringRef LockFileName) {
|
||||
|
||||
StringRef Hostname;
|
||||
StringRef PIDStr;
|
||||
tie(Hostname, PIDStr) = getToken(MB->getBuffer(), " ");
|
||||
std::tie(Hostname, PIDStr) = getToken(MB->getBuffer(), " ");
|
||||
PIDStr = PIDStr.substr(PIDStr.find_first_not_of(" "));
|
||||
int PID;
|
||||
if (!PIDStr.getAsInteger(10, PID))
|
||||
|
Reference in New Issue
Block a user