]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth, add [[nodiscard]] to getCatalogMembers() 15093/head
authorKees Monshouwer <mind04@monshouwer.org>
Wed, 29 Jan 2025 00:31:20 +0000 (01:31 +0100)
committermind04 <mind04@monshouwer.org>
Wed, 29 Jan 2025 00:31:20 +0000 (01:31 +0100)
pdns/dnsbackend.hh

index 7b7e4c211784f078cef053a85636bacc07afd592..8d85a2581f36653842f5d4a64284b0bc407995dc 100644 (file)
@@ -353,7 +353,7 @@ public:
   }
 
   //! get list of all members in a catalog
-  virtual bool getCatalogMembers(const DNSName& /* catalog */, vector<CatalogInfo>& /* members */, CatalogInfo::CatalogType /* type */)
+  [[nodiscard]] virtual bool getCatalogMembers(const DNSName& /* catalog */, vector<CatalogInfo>& /* members */, CatalogInfo::CatalogType /* type */)
   {
     return false;
   }