Permalink
Browse files

Fix a non-const lvalue build error with clang-3.1

  • Loading branch information...
1 parent 8e94e4c commit 40e119bd5577fc383990ad02b175ec64292f764b @adaptee adaptee committed with fujiwarat Oct 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/qibusserializable.h
View
@@ -91,7 +91,7 @@ class Serializable : public Object
template<typename T>
QVariant &
-qVariantFromSerializable (const Pointer<T> &p, QVariant & variant = QVariant ())
+qVariantFromSerializable (const Pointer<T> &p, QVariant & variant)
{
QDBusArgument argument;

0 comments on commit 40e119b

Please sign in to comment.