summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbuspendingreply.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus/qdbuspendingreply.h')
-rw-r--r--src/dbus/qdbuspendingreply.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbus/qdbuspendingreply.h b/src/dbus/qdbuspendingreply.h
index 1d7e60ad7f..9d25115a67 100644
--- a/src/dbus/qdbuspendingreply.h
+++ b/src/dbus/qdbuspendingreply.h
@@ -154,7 +154,7 @@ public:
template<int Index> inline
const typename Select<Index>::Type argumentAt() const
{
- Q_STATIC_ASSERT_X(Index >= 0 && Index < Count, "Index out of bounds");
+ static_assert(Index >= 0 && Index < Count, "Index out of bounds");
typedef typename Select<Index>::Type ResultType;
return qdbus_cast<ResultType>(argumentAt(Index), nullptr);
}