diff --git a/src/common/deprecation.cpp b/src/common/deprecation.cpp index 33bfdd331..3f7cbd919 100644 --- a/src/common/deprecation.cpp +++ b/src/common/deprecation.cpp @@ -79,6 +79,11 @@ void setDeprecationOutputEnabled(bool enable) } } +bool isDeprecationOutputEnabled() +{ + return outputEnabled; +} + std::string getDeprecationNotice(const DeprecationInfo &info, bool usewhere) { std::string notice;