logic: refactored license checking

This commit is contained in:
Eberhard Graether
2016-10-08 15:45:11 +02:00
parent 1b8736a6e1
commit 0d950d96f5
5 changed files with 9 additions and 20 deletions
@@ -7,9 +7,8 @@ class MessageDispatchWhenLicenseValid
: public Message<MessageDispatchWhenLicenseValid>
{
public:
MessageDispatchWhenLicenseValid(std::shared_ptr<MessageBase> content, bool allowTrial = false)
MessageDispatchWhenLicenseValid(std::shared_ptr<MessageBase> content)
: content(content)
, allowTrial(allowTrial)
{
}
@@ -19,7 +18,6 @@ public:
}
std::shared_ptr<MessageBase> content;
const bool allowTrial;
};
#endif // MESSAGE_DISPATCH_WHEN_LICENSE_VALID_H