From 43d354182f44fac52247a4340462e7471e59a00a Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Tue, 6 Dec 2016 11:24:51 +0000 Subject: Use Timeout<> in EvaluateExpressionOptions class llvm-svn: 288797 --- lldb/source/Commands/CommandObjectExpression.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lldb/source/Commands/CommandObjectExpression.cpp') diff --git a/lldb/source/Commands/CommandObjectExpression.cpp b/lldb/source/Commands/CommandObjectExpression.cpp index ba477cd5f4c4..cfb3a6dd5117 100644 --- a/lldb/source/Commands/CommandObjectExpression.cpp +++ b/lldb/source/Commands/CommandObjectExpression.cpp @@ -358,9 +358,9 @@ bool CommandObjectExpression::EvaluateExpression(const char *expr, options.SetGenerateDebugInfo(true); if (m_command_options.timeout > 0) - options.SetTimeoutUsec(m_command_options.timeout); + options.SetTimeout(std::chrono::microseconds(m_command_options.timeout)); else - options.SetTimeoutUsec(0); + options.SetTimeout(llvm::None); ExpressionResults success = target->EvaluateExpression( expr, frame, result_valobj_sp, options, &m_fixed_expression); -- cgit v1.2.3