mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 20:54:41 +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) {
|
if (data) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
data = (char*) malloc(x*y*sizeof(int));
|
data = (char*) malloc(mx*my*sizeof(int));
|
||||||
return data != nullptr;
|
return data != nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user