[webkit-changes] cvs commit: WebCore/khtml/xml dom_qname.h
dom_qname.cpp
David
hyatt at opensource.apple.com
Thu Jun 16 14:06:47 PDT 2005
hyatt 05/06/16 14:06:46
Modified: khtml/xml dom_qname.h dom_qname.cpp
Log:
Fix build bustage
Revision Changes Path
1.2 +5 -5 WebCore/khtml/xml/dom_qname.h
Index: dom_qname.h
===================================================================
RCS file: /cvs/root/WebCore/khtml/xml/dom_qname.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- dom_qname.h 16 Jun 2005 19:42:19 -0000 1.1
+++ dom_qname.h 16 Jun 2005 21:06:46 -0000 1.2
@@ -60,16 +60,16 @@
private:
- void ref() { if (m_impl) m_impl->ref(); } // FIXME: Yank null check eventually.
+ void ref() { m_impl->ref(); }
void deref();
QualifiedNameImpl* m_impl;
};
-bool operator==(const AtomicString& a, const QualifiedName& q) { return a == q.localName(); }
-bool operator!=(const AtomicString& a, const QualifiedName& q) { return a != q.localName(); }
-bool operator==(const QualifiedName& q, const AtomicString& a) { return a == q.localName(); }
-bool operator!=(const QualifiedName& q, const AtomicString& a) { return a != q.localName(); }
+bool operator==(const AtomicString& a, const QualifiedName& q);
+inline bool operator!=(const AtomicString& a, const QualifiedName& q) { return a != q.localName(); }
+bool operator==(const QualifiedName& q, const AtomicString& a);
+inline bool operator!=(const QualifiedName& q, const AtomicString& a) { return a != q.localName(); }
}
1.2 +10 -0 WebCore/khtml/xml/dom_qname.cpp
Index: dom_qname.cpp
===================================================================
RCS file: /cvs/root/WebCore/khtml/xml/dom_qname.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- dom_qname.cpp 16 Jun 2005 19:42:19 -0000 1.1
+++ dom_qname.cpp 16 Jun 2005 21:06:46 -0000 1.2
@@ -105,4 +105,14 @@
m_impl->deref();
}
+bool operator==(const AtomicString& a, const QualifiedName& q)
+{
+ return a == q.localName();
+}
+
+bool operator==(const QualifiedName& q, const AtomicString& a)
+{
+ return a == q.localName();
+}
+
}
More information about the webkit-changes
mailing list