Bug 146856

Summary: Cleanup: Remove default constructor for WebCore::Pair()
Product: WebKit Reporter: Daniel Bates <dbates>
Component: WebCore Misc.Assignee: Daniel Bates <dbates>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch darin: review+

Description Daniel Bates 2015-07-10 14:00:58 PDT
Following up on Darin Adler's remark in bug 146852, comment 5, we should remove the default constructor for WebCore::Pair as we are not making use of it. Similarly, we can remove the setters Pair::setFirst() and Pair::setSecond() since this are unused and it seems weird to expose such setter when we do not have a default constructor.
Comment 1 Radar WebKit Bug Importer 2015-07-10 14:04:51 PDT
<rdar://problem/21773212>
Comment 2 Daniel Bates 2015-07-10 14:05:32 PDT
Created attachment 256613 [details]
Patch
Comment 3 Daniel Bates 2015-07-10 20:46:25 PDT
Committed r186704: <http://trac.webkit.org/changeset/186704>