mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
bad return type
This commit is contained in:
parent
2a9d0a43b8
commit
005e546d63
|
@ -4532,7 +4532,7 @@ Leaving behind an invalid object is asking for trouble.
|
||||||
// ...
|
// ...
|
||||||
}
|
}
|
||||||
|
|
||||||
void is_valid() { return valid; }
|
bool is_valid() { return valid; }
|
||||||
void read(); // read from f
|
void read(); // read from f
|
||||||
// ...
|
// ...
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user