mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
Corrected variables in Init() to mx, my. (#1501)
It doesn't make sense otherwise
This commit is contained in:
committed by
Sergey Zubkov
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user