[Webkit-unassigned] [Bug 48505] New: Change Noncopyable macro to avoid using two subsequent line
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 28 03:38:29 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=48505
Summary: Change Noncopyable macro to avoid using two subsequent
line
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Template Framework
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: zoltan at webkit.org
Depends on: 46589
With the actual WTF_MAKE_NONCOPYABLE and WTF_MAKE_FAST_ALLOCATED macro implementations when a class needs to be Noncopyable and FastAllocated as well we'd have needed to add 2 subsequent line 1-1 for each macro.
With this change we can use these in one line.
Examples:
In the case when Example is not instantiated by new and needs to be Noncopyable:
class Example {
WTF_MAKE_NONCOPYABLE(Example);
};
In the case when Example is instantiated by new and needs to be Noncopyable:
class Example {
WTF_MAKE_NONCOPYABLE(Example, WTF_MAKE_FAST_ALLOCATED);
};
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list