kopia lustrzana https://github.com/markondej/fm_transmitter
Removed default constructor of AllocatedMemory class
rodzic
d603509aac
commit
9f903b33d8
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -166,6 +166,7 @@ class Peripherals
|
|||
class AllocatedMemory
|
||||
{
|
||||
public:
|
||||
AllocatedMemory() = delete;
|
||||
AllocatedMemory(unsigned size) {
|
||||
mBoxFd = mbox_open();
|
||||
memSize = size;
|
||||
|
|
Ładowanie…
Reference in New Issue