forked from qt-creator/qt-creator
Use more std::chrono and std::chrono_literals namespaces
Change-Id: Ib8c83988d7afe35d81b87ff8c5c87eef2082f12d Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -621,7 +621,8 @@ void DebuggerItemModel::autoDetectGdbOrLldbDebuggers(const FilePaths &searchPath
|
||||
if (searchPaths.front().osType() == OsTypeMac) {
|
||||
Process proc;
|
||||
proc.setCommand({"xcrun", {"--find", "lldb"}});
|
||||
proc.runBlocking(std::chrono::seconds(2));
|
||||
using namespace std::chrono_literals;
|
||||
proc.runBlocking(2s);
|
||||
// FIXME:
|
||||
if (proc.result() == ProcessResult::FinishedWithSuccess) {
|
||||
QString lPath = proc.allOutput().trimmed();
|
||||
|
||||
Reference in New Issue
Block a user