From f006c1ea01b37173dbfc893266a541fe1f4e3524 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Mon, 28 Sep 2015 15:43:09 +0200 Subject: Use ushort instead of int for CRSM.ManagementPort --- src/CRSMConfig.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/CRSMConfig.hpp') diff --git a/src/CRSMConfig.hpp b/src/CRSMConfig.hpp index b705c62..c0f3b06 100644 --- a/src/CRSMConfig.hpp +++ b/src/CRSMConfig.hpp @@ -49,6 +49,7 @@ public: using String = QString; using Integer = int; +using Port = ushort; using Boolean = bool; #define List(Type) QList #define Map(KeyType, ValueType) QMap @@ -234,7 +235,7 @@ protected: class CRSMConfig : public CRSMConfigBase { public: struct { - Integer ManagementPort = 9372; + Port ManagementPort = 9372; String ListFolder = "ScenarioLists"; } CRSM; -- cgit v1.2.3-54-g00ecf