]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Remove unnecessary override of write_async_safe
authorTom Tromey <tom@tromey.com>
Sun, 7 Dec 2025 23:29:11 +0000 (17:29 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 9 Feb 2026 15:09:08 +0000 (08:09 -0700)
pager_file overrides write_async_safe but does so in the same way as
its superclass.  So, remove the unnecessary override.

Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/pager.h

index a23e1bcc2de1c6e3c378438f68aa0d5c69d19085..5d64ffcf16cf882e75d3c2b18a5f6f2c6b2fe719 100644 (file)
@@ -44,11 +44,6 @@ public:
 
   void puts (const char *str) override;
 
-  void write_async_safe (const char *buf, long length_buf) override
-  {
-    m_stream->write_async_safe (buf, length_buf);
-  }
-
   void emit_style_escape (const ui_file_style &style) override;
 
   void flush () override;