diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-10-07 16:31:02 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-10-07 16:31:02 (GMT) |
commit | 83c5c774b9e71133401e574b1ca7fc6d766bc492 (patch) | |
tree | 7e4465a476ac71ddcdf18459c183cdd54414ed20 /SwifTools/Notifier | |
parent | 4d0785354d6009ad3283b4f812ee17bd1ec35113 (diff) | |
download | swift-83c5c774b9e71133401e574b1ca7fc6d766bc492.zip swift-83c5c774b9e71133401e574b1ca7fc6d766bc492.tar.bz2 |
Fix windows compilation.
Diffstat (limited to 'SwifTools/Notifier')
-rw-r--r-- | SwifTools/Notifier/Notifier.cpp | 4 | ||||
-rw-r--r-- | SwifTools/Notifier/Notifier.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/SwifTools/Notifier/Notifier.cpp b/SwifTools/Notifier/Notifier.cpp index 44fe2a8..c03970b 100644 --- a/SwifTools/Notifier/Notifier.cpp +++ b/SwifTools/Notifier/Notifier.cpp @@ -8,8 +8,8 @@ namespace Swift { -const int Notifier::DEFAULT_STATUS_NOTIFICATION_TIMEOUT_SECONDS; -const int Notifier::DEFAULT_MESSAGE_NOTIFICATION_TIMEOUT_SECONDS; +const int Notifier::DEFAULT_STATUS_NOTIFICATION_TIMEOUT_SECONDS = 3; +const int Notifier::DEFAULT_MESSAGE_NOTIFICATION_TIMEOUT_SECONDS = 5; Notifier::Notifier() : enabled(true) { } diff --git a/SwifTools/Notifier/Notifier.h b/SwifTools/Notifier/Notifier.h index 76d6382..aacaf7e 100644 --- a/SwifTools/Notifier/Notifier.h +++ b/SwifTools/Notifier/Notifier.h @@ -48,8 +48,8 @@ namespace Swift { static std::vector<Type> getAllTypes(); static std::vector<Type> getDefaultTypes(); - static const int DEFAULT_STATUS_NOTIFICATION_TIMEOUT_SECONDS = 3; - static const int DEFAULT_MESSAGE_NOTIFICATION_TIMEOUT_SECONDS = 5; + static const int DEFAULT_STATUS_NOTIFICATION_TIMEOUT_SECONDS; + static const int DEFAULT_MESSAGE_NOTIFICATION_TIMEOUT_SECONDS; private: bool enabled; |