Prefer member initializer list in classes

Change-Id: Iced00dbb22c730e4afab1c5d85494fba35d7fd2e
diff --git a/src/data_query.cpp b/src/data_query.cpp
index cef7ec3..e231ac3 100644
--- a/src/data_query.cpp
+++ b/src/data_query.cpp
@@ -6,8 +6,8 @@
 
 DataQuery::DataQuery(DatastoreAccess& datastore)
     : m_datastore(datastore)
+    , m_schema(m_datastore.schema())
 {
-    m_schema = m_datastore.schema();
 }
 
 std::vector<ListInstance> DataQuery::listKeys(const dataPath_& listPath) const