mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
Fix typo.
This commit is contained in:
@@ -3532,7 +3532,7 @@ The idiom of having constructors acquire resources and destructors release them
|
||||
|
||||
class X3 { // bad: the constructor leaves a non-valid object behind
|
||||
FILE* f; // call init() before any other function
|
||||
bool valid;;
|
||||
bool valid;
|
||||
// ...
|
||||
public:
|
||||
X3(const string& name)
|
||||
|
||||
Reference in New Issue
Block a user