Revert a hunk from 9634064cfa

This causes errors when building LLDB because the Windows implementation
doesn't implement this method:

C:\src\llvm-project\lldb\source\Plugins\ScriptInterpreter\Python\ScriptInterpreterPython.cpp(915,19): error: allocating an object of abstract class type 'lldb_private::ConnectionGenericFile'
              new ConnectionGenericFile(read_file, true));
                  ^
C:\src\llvm-project\lldb\include\lldb/Utility/Connection.h(174,28): note: unimplemented pure virtual method 'GetReadObject' in 'ConnectionGenericFile'
  virtual lldb::IOObjectSP GetReadObject() = 0;
                           ^
This commit is contained in:
Reid Kleckner 2019-11-13 15:40:22 -08:00
parent 33c3e0b96c
commit bfe663ce22
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ public:
///
/// \return
/// The underlying IOObject used for reading.
virtual lldb::IOObjectSP GetReadObject() = 0;
virtual lldb::IOObjectSP GetReadObject() { return lldb::IOObjectSP(); };
private:
// For Connection only