SWDEV-24806 - Fix compilation warning
Change-Id: I6d015b0349e01047f8f26a8d73365e2963990eb0
Ta zmiana jest zawarta w:
%! (template.HTML=
anusha GodavarthySurya)złożyło 2021-10-06 22:09:17 -07:00
1 rodzic
5e116c6c99
złożenie
f4bdb5c6ff
Plik 1 zmieniony
+1
-1
@@ -718,7 +718,7 @@ class FillMemoryCommand : public OneMemoryArgCommand {
|
||||
const Coord3D& surface() const { return surface_; }
|
||||
|
||||
//! Updates the pattern memory to fill with and pattern size
|
||||
void* setPattern(const void* pattern, const size_t patternSize) {
|
||||
void setPattern(const void* pattern, const size_t patternSize) {
|
||||
assert(pattern != NULL && "pattern cannot be null");
|
||||
memcpy(pattern_, pattern, patternSize);
|
||||
patternSize_ = patternSize;
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika