diff options
Diffstat (limited to 'lldb/source/Expression/REPL.cpp')
| -rw-r--r-- | lldb/source/Expression/REPL.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Expression/REPL.cpp b/lldb/source/Expression/REPL.cpp index 7c3cd7e3d43..e404537562b 100644 --- a/lldb/source/Expression/REPL.cpp +++ b/lldb/source/Expression/REPL.cpp @@ -296,9 +296,9 @@ void REPL::IOHandlerInputComplete(IOHandler &io_handler, std::string &code) { expr_options.SetPoundLine(m_repl_source_path.c_str(), m_code.GetSize() + 1); if (m_command_options.timeout > 0) - expr_options.SetTimeoutUsec(m_command_options.timeout); + expr_options.SetTimeout(std::chrono::microseconds(m_command_options.timeout)); else - expr_options.SetTimeoutUsec(0); + expr_options.SetTimeout(llvm::None); expr_options.SetLanguage(GetLanguage()); |

