aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/shared
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@digia.com>2013-01-09 10:26:59 +0100
committerJoerg Bornemann <joerg.bornemann@digia.com>2013-01-10 13:38:02 +0100
commit340f18159840c156be542efdc87a56c122d378f1 (patch)
treec29bd965dc2725b54d81cd8270a88b989bd717fe /src/app/shared
parent3da798b35cd336914b92725ee746815c14469388 (diff)
Use class instead of struct whereever possible
E.g. clang complains about struct/class mismaches, so try to use class as consistently as possible to avoid opportunities for mistakes. Change-Id: I81021336f2dc75a2f5b2b1105491aa50f8ea851d Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/app/shared')
-rw-r--r--src/app/shared/specialplatformssetup.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/app/shared/specialplatformssetup.h b/src/app/shared/specialplatformssetup.h
index bd9b75429..f6f0e3a7d 100644
--- a/src/app/shared/specialplatformssetup.h
+++ b/src/app/shared/specialplatformssetup.h
@@ -39,15 +39,17 @@ namespace qbs {
class SpecialPlatformsSetup
{
public:
- struct Exception
+ class Exception
{
+ public:
Exception(const QString &msg) : errorMessage(msg) {}
const QString errorMessage;
};
- struct PlatformInfo
+ class PlatformInfo
{
+ public:
QString name;
QString targetOS;
QStringList targetPlatform;