summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@libreoffice.org>2018-05-18 21:11:15 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-05-18 12:42:48 -0700
commit2a0ee09cb2cf1c3cb7ee020d5c6b58bcc50123ca (patch)
treeb384a8b85addfc4a8e71321a5210d409cdf5fbd8
parent6034b25cb2f2c5226ba140d14fae413336854c39 (diff)
downloadsubsurface-2a0ee09cb2cf1c3cb7ee020d5c6b58bcc50123ca.tar.gz
core: solved PictureEntry defined as class and struct.
PictureEntry was defined as class in imagedownloader.h and as struct in divepicturemodel.h A class has a vptr in front, so the difference is real at least for the clang compiler. Signed-off-by: Jan Iversen <jani@apache.org>
-rw-r--r--core/imagedownloader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/imagedownloader.h b/core/imagedownloader.h
index 3c316a2f6..fe0a9631b 100644
--- a/core/imagedownloader.h
+++ b/core/imagedownloader.h
@@ -23,7 +23,7 @@ private:
void saveImage(QNetworkReply *reply);
};
-class PictureEntry;
+struct PictureEntry;
class Thumbnailer : public QObject {
Q_OBJECT
public: