summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xmlpatterns/data/qitem_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlpatterns/data/qitem_p.h b/src/xmlpatterns/data/qitem_p.h
index c5a168d..d470f45 100644
--- a/src/xmlpatterns/data/qitem_p.h
+++ b/src/xmlpatterns/data/qitem_p.h
@@ -205,7 +205,7 @@ namespace QPatternist
inline Item(const Item &other) : node(other.node)
{
- Q_ASSERT_X(sizeof(QXmlNodeModelIndex) >= sizeof(AtomicValue), Q_FUNC_INFO,
+ Q_STATIC_ASSERT_X(sizeof(QXmlNodeModelIndex) >= sizeof(AtomicValue),
"Since we're only copying the node member, it must be the largest.");
if(isAtomicValue())
atomicValue->ref.ref();