Skip to content

Commit 3523425

Browse files
Unreviewed, annotate inline for operator==/!= for FastAllocator
https://bugs.webkit.org/show_bug.cgi?id=174366 * wtf/FastMalloc.h: (WTF::operator==): (WTF::operator!=): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@219491 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent e375184 commit 3523425

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

Source/WTF/ChangeLog

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
2017-07-13 Yusuke Suzuki <[email protected]>
2+
3+
Unreviewed, annotate inline for operator==/!= for FastAllocator
4+
https://bugs.webkit.org/show_bug.cgi?id=174366
5+
6+
* wtf/FastMalloc.h:
7+
(WTF::operator==):
8+
(WTF::operator!=):
9+
110
2017-07-12 Commit Queue <[email protected]>
211

312
Unreviewed, rolling out r219176.

Source/WTF/wtf/FastMalloc.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ class FastAllocator {
126126
}
127127
};
128128

129-
template<typename T, typename U> bool operator==(const FastAllocator<T>&, const FastAllocator<U>&) { return true; }
130-
template<typename T, typename U> bool operator!=(const FastAllocator<T>&, const FastAllocator<U>&) { return false; }
129+
template<typename T, typename U> inline bool operator==(const FastAllocator<T>&, const FastAllocator<U>&) { return true; }
130+
template<typename T, typename U> inline bool operator!=(const FastAllocator<T>&, const FastAllocator<U>&) { return false; }
131131

132132

133133
} // namespace WTF

0 commit comments

Comments
 (0)