|
|
@@ -64,7 +64,11 @@ is_on(NotifySeverity severity) const {
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
INLINE bool NotifyCategory::
|
|
|
is_spam() const {
|
|
|
+#ifndef NDEBUG
|
|
|
return is_on(NS_spam);
|
|
|
+#else
|
|
|
+ return false;
|
|
|
+#endif
|
|
|
}
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
@@ -74,7 +78,11 @@ is_spam() const {
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
INLINE bool NotifyCategory::
|
|
|
is_debug() const {
|
|
|
+#ifndef NDEBUG
|
|
|
return is_on(NS_debug);
|
|
|
+#else
|
|
|
+ return false;
|
|
|
+#endif
|
|
|
}
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|