From: Fred Morcos Date: Thu, 10 Aug 2023 14:55:31 +0000 (+0200) Subject: Coding Guidelines: BadFileDescriptorWrapper -> GoodFileDescriptorWrapper X-Git-Tag: rec-5.0.0-alpha1~44^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=051e194aa030f612f35ca30220a490054b2e425a;p=thirdparty%2Fpdns.git Coding Guidelines: BadFileDescriptorWrapper -> GoodFileDescriptorWrapper --- diff --git a/CODING_GUIDELINES.md b/CODING_GUIDELINES.md index 45c89ffdca..6bbf288094 100644 --- a/CODING_GUIDELINES.md +++ b/CODING_GUIDELINES.md @@ -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) {