From be98090bbbda26825ea44777c3d847399b2e6e5c Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 6 Jun 2017 16:34:50 +0200 Subject: A stab at the undefined reference to QMap::QMap() error ...that I only get on copr and nowhere else. --- common/storage.h | 2 ++ common/storage_common.cpp | 12 ++++++++++++ 2 files changed, 14 insertions(+) (limited to 'common') diff --git a/common/storage.h b/common/storage.h index b664e11..8c129df 100644 --- a/common/storage.h +++ b/common/storage.h @@ -32,6 +32,8 @@ namespace Storage { struct SINK_EXPORT DbLayout { typedef QMap Databases; + DbLayout(); + DbLayout(const QByteArray &, const Databases &); QByteArray name; Databases tables; }; diff --git a/common/storage_common.cpp b/common/storage_common.cpp index 1426cd5..8603787 100644 --- a/common/storage_common.cpp +++ b/common/storage_common.cpp @@ -36,6 +36,18 @@ namespace Storage { static const char *s_internalPrefix = "__internal"; static const int s_internalPrefixSize = strlen(s_internalPrefix); +DbLayout::DbLayout() +{ + +} + +DbLayout::DbLayout(const QByteArray &n, const Databases &t) + : name(n), + tables(t) +{ + +} + void errorHandler(const DataStore::Error &error) { if (error.code == DataStore::TransactionError) { -- cgit v1.2.3