[Webkit-unassigned] [Bug 198269] Implement MappedFileData for Windows
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 8 11:11:24 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=198269
--- Comment #4 from Christopher Reid <chris.reid at sony.com> ---
(In reply to Darin Adler from comment #3)
> Comment on attachment 373420 [details]
> Patch
>
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=373420&action=review
>
> > Source/WTF/wtf/FileSystem.cpp:277
> > +#if HAVE(MMAP)
>
> Should have a blank line after this.
>
Will add.
> > Source/WTF/wtf/FileSystem.cpp:326
> > +#endif
>
> Should have a blank line before this.
>
Will add.
> > Source/WTF/wtf/FileSystem.h:36
> > +#include <wtf/Noncopyable.h>
>
> See comment below.
>
> > Source/WTF/wtf/FileSystem.h:196
> > + WTF_MAKE_NONCOPYABLE(MappedFileData);
>
> Given my understanding of C++, this should not be necessary. Defining a move
> constructor and a move assignment operator as this class does should
> implicitly cause the copy constructor and copy assignment operator to not be
> generated. So there should be no additional need to use WTF_MAKE_NOCOPYABLE.
>
> Was there some concrete problem that this fixed on Windows? Maybe my
> understanding of C++ is wrong, or maybe this works around a bug in the
> Windows C++ compiler.
>
> Iâd prefer to not make the change unless itâs required.
There doesn't seem to be any compiler issues without the WTF_MAKE_NOCOPYABLE in Windows.
I'll take those changes out.
--
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/20190708/6930cce0/attachment.html>
More information about the webkit-unassigned
mailing list