summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/New_GPG/src/log.h')
-rw-r--r--plugins/New_GPG/src/log.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/New_GPG/src/log.h b/plugins/New_GPG/src/log.h
index e48d298bd6..e563bc71d0 100644
--- a/plugins/New_GPG/src/log.h
+++ b/plugins/New_GPG/src/log.h
@@ -25,6 +25,8 @@ public:
logtofile& operator<<(const char *buf);
logtofile& operator<<(const std::string &buf);
void init();
+
+ __forceinline operator bool() const { return bEnabled; }
};
#endif