diff options
| author | Pavel Labath <labath@google.com> | 2017-02-10 13:04:32 +0000 |
|---|---|---|
| committer | Pavel Labath <labath@google.com> | 2017-02-10 13:04:32 +0000 |
| commit | 38e2d5859418f360e6fb345c12041c08e4ca4ea3 (patch) | |
| tree | a746814b6269c1fb032017a33715821eedba2126 /lldb/source/Plugins/Process/Windows | |
| parent | edfbda49843a6a658b5c7d2ada860c53fe2e593d (diff) | |
| download | bcm5719-llvm-38e2d5859418f360e6fb345c12041c08e4ca4ea3.tar.gz bcm5719-llvm-38e2d5859418f360e6fb345c12041c08e4ca4ea3.zip | |
Really fix windows build
this time I have actually tried that it compiles on windows.
llvm-svn: 294744
Diffstat (limited to 'lldb/source/Plugins/Process/Windows')
| -rw-r--r-- | lldb/source/Plugins/Process/Windows/Common/ProcessWindowsLog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/Windows/Common/ProcessWindowsLog.cpp b/lldb/source/Plugins/Process/Windows/Common/ProcessWindowsLog.cpp index 7cd52e4af34..849662f1876 100644 --- a/lldb/source/Plugins/Process/Windows/Common/ProcessWindowsLog.cpp +++ b/lldb/source/Plugins/Process/Windows/Common/ProcessWindowsLog.cpp @@ -102,7 +102,7 @@ void ProcessWindowsLog::DisableLog(const char **args, Stream *feedback_strm) { log->GetMask().Reset(flag_bits); if (flag_bits == 0) { g_log_enabled = false; - log->SetStream(lldb::StreamSP()); + log->SetStream(nullptr); } } @@ -110,7 +110,7 @@ void ProcessWindowsLog::DisableLog(const char **args, Stream *feedback_strm) { } Log *ProcessWindowsLog::EnableLog( - std::shared_ptr<llvm::raw_ostream> &log_stream_sp, uint32_t log_options, + const std::shared_ptr<llvm::raw_ostream> &log_stream_sp, uint32_t log_options, const char **args, Stream *feedback_strm) { // Try see if there already is a log - that way we can reuse its settings. // We could reuse the log in toto, but we don't know that the stream is the |

