aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/qmc-example.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/examples/qmc-example.cpp b/examples/qmc-example.cpp
index d6cba76a..f4067009 100644
--- a/examples/qmc-example.cpp
+++ b/examples/qmc-example.cpp
@@ -24,8 +24,7 @@ using std::cout;
using std::endl;
using namespace std::placeholders;
-class QMCTest : public QObject
-{
+class QMCTest : public QObject {
public:
QMCTest(Connection* conn, QString testRoomName, QString source);
@@ -92,9 +91,7 @@ bool QMCTest::validatePendingEvent(const QString& txnId)
}
QMCTest::QMCTest(Connection* conn, QString testRoomName, QString source)
- : c(conn)
- , origin(std::move(source))
- , targetRoomName(std::move(testRoomName))
+ : c(conn), origin(std::move(source)), targetRoomName(std::move(testRoomName))
{
if (!origin.isEmpty())
cout << "Origin for the test message: " << origin.toStdString() << endl;