diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-06-06 16:34:50 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-06-06 16:34:50 +0200 |
commit | be98090bbbda26825ea44777c3d847399b2e6e5c (patch) | |
tree | debe64ecbb2fb01716e6eeb12dcb1696a7268e16 /common/storage_common.cpp | |
parent | 18bd12302c39345f1a1a3fa29ddfd3e6ac558c24 (diff) | |
download | sink-be98090bbbda26825ea44777c3d847399b2e6e5c.tar.gz sink-be98090bbbda26825ea44777c3d847399b2e6e5c.zip |
A stab at the undefined reference to QMap<QByteArray, int>::QMap() error
...that I only get on copr and nowhere else.
Diffstat (limited to 'common/storage_common.cpp')
-rw-r--r-- | common/storage_common.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
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 { | |||
36 | static const char *s_internalPrefix = "__internal"; | 36 | static const char *s_internalPrefix = "__internal"; |
37 | static const int s_internalPrefixSize = strlen(s_internalPrefix); | 37 | static const int s_internalPrefixSize = strlen(s_internalPrefix); |
38 | 38 | ||
39 | DbLayout::DbLayout() | ||
40 | { | ||
41 | |||
42 | } | ||
43 | |||
44 | DbLayout::DbLayout(const QByteArray &n, const Databases &t) | ||
45 | : name(n), | ||
46 | tables(t) | ||
47 | { | ||
48 | |||
49 | } | ||
50 | |||
39 | void errorHandler(const DataStore::Error &error) | 51 | void errorHandler(const DataStore::Error &error) |
40 | { | 52 | { |
41 | if (error.code == DataStore::TransactionError) { | 53 | if (error.code == DataStore::TransactionError) { |