Removed default constructor of AllocatedMemory class

pull/157/head
Marcin Kondej 2021-12-29 03:37:18 +01:00
rodzic d603509aac
commit 9f903b33d8
2 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -111,9 +111,9 @@ int main(int argc, char** argv)
} catch (std::exception &catched) {
std::cout << "Error: " << catched.what() << std::endl;
finally();
return 1;
return EXIT_FAILURE;
}
finally();
return 0;
return EXIT_SUCCESS;
}

Wyświetl plik

@ -166,6 +166,7 @@ class Peripherals
class AllocatedMemory
{
public:
AllocatedMemory() = delete;
AllocatedMemory(unsigned size) {
mBoxFd = mbox_open();
memSize = size;