Title: [215139] trunk/Source/WTF
- Revision
- 215139
- Author
- [email protected]
- Date
- 2017-04-07 20:22:26 -0700 (Fri, 07 Apr 2017)
Log Message
Unreviewed, remove constexpr function since GTK didn't like it.
* wtf/PriorityQueue.h:
(WTF::PriorityQueue::parentOf):
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (215138 => 215139)
--- trunk/Source/WTF/ChangeLog 2017-04-08 02:26:43 UTC (rev 215138)
+++ trunk/Source/WTF/ChangeLog 2017-04-08 03:22:26 UTC (rev 215139)
@@ -1,3 +1,10 @@
+2017-04-07 Keith Miller <[email protected]>
+
+ Unreviewed, remove constexpr function since GTK didn't like it.
+
+ * wtf/PriorityQueue.h:
+ (WTF::PriorityQueue::parentOf):
+
2017-04-07 Chris Dumez <[email protected]>
Start using MonotonicTime / Seconds in Timer class
Modified: trunk/Source/WTF/wtf/PriorityQueue.h (215138 => 215139)
--- trunk/Source/WTF/wtf/PriorityQueue.h 2017-04-08 02:26:43 UTC (rev 215138)
+++ trunk/Source/WTF/wtf/PriorityQueue.h 2017-04-08 03:22:26 UTC (rev 215139)
@@ -100,7 +100,7 @@
}
protected:
- static constexpr size_t parentOf(size_t location) { ASSERT(location); return (location - 1) / 2; }
+ static inline size_t parentOf(size_t location) { ASSERT(location); return (location - 1) / 2; }
static constexpr size_t leftChildOf(size_t location) { return location * 2 + 1; }
static constexpr size_t rightChildOf(size_t location) { return leftChildOf(location) + 1; }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes