]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Coding Guidelines: BadFileDescriptorWrapper -> GoodFileDescriptorWrapper
authorFred Morcos <fred.morcos@open-xchange.com>
Thu, 10 Aug 2023 14:55:31 +0000 (16:55 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Thu, 10 Aug 2023 14:57:05 +0000 (16:57 +0200)
CODING_GUIDELINES.md

index 45c89ffdcaf2c3184ba9a4994a97acc455b7bff1..6bbf288094b8d77597995345dc65fff7862f10ed 100644 (file)
@@ -105,7 +105,7 @@ private:
 The use of smart pointers can be a solution to most resource leakage problems, but otherwise the only way is to be careful about exceptions in constructors:
 
 ```C++
-BadFileDescriptorWrapper()
+GoodFileDescriptorWrapper()
 {
   d_fd = open(...);
   if (something) {