Solving a small bug

This commit is contained in:
AnonymusRaccoon
2020-02-14 11:02:33 +01:00
parent 0bf5e08ce7
commit f437d7fe66
+1
View File
@@ -12,6 +12,7 @@ namespace ComSquare::Ram
: _size(size)
{
this->_data = new uint8_t[size];
std::memset(this->_data, 0, size * sizeof(uint8_t));
}
Ram::~Ram()