mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Fix typo.
This commit is contained in:
parent
240bc0ea0c
commit
9222fd1b1f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user