mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Corrected variables in Init() to mx, my. (#1501)
It doesn't make sense otherwise
This commit is contained in:
parent
e6b7108dd3
commit
6a004e1288
|
@ -20095,7 +20095,7 @@ and errors (when we didn't deal correctly with semi-constructed objects consiste
|
|||
if (data) {
|
||||
return false;
|
||||
}
|
||||
data = (char*) malloc(x*y*sizeof(int));
|
||||
data = (char*) malloc(mx*my*sizeof(int));
|
||||
return data != nullptr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user