[Webkit-unassigned] [Bug 212107] New: WTF::LockedPrintStream should be final

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 19 13:56:06 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=212107

            Bug ID: 212107
           Summary: WTF::LockedPrintStream should be final
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aperez at igalia.com

As Clang wisely advises:

../Source/WTF/wtf/LockedPrintStream.h:38:26: warning: class with destructor marked 'final' cannot be inherited from [-Wfinal-dtor-non-final-class]
    ~LockedPrintStream() final;
                         ^
../Source/WTF/wtf/LockedPrintStream.h:35:7: note: mark 'WTF::LockedPrintStream' as 'final' to silence this warning
class LockedPrintStream : public PrintStream {
      ^
1 warning generated.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200519/041f1714/attachment-0001.htm>


More information about the webkit-unassigned mailing list