Skip to content

Commit

Permalink
Removed default constructor of AllocatedMemory class
Browse files Browse the repository at this point in the history
  • Loading branch information
markondej committed Dec 29, 2021
1 parent d603509 commit 9f903b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fm_transmitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
1 change: 1 addition & 0 deletions transmitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ class Peripherals
class AllocatedMemory
{
public:
AllocatedMemory() = delete;
AllocatedMemory(unsigned size) {
mBoxFd = mbox_open();
memSize = size;
Expand Down

0 comments on commit 9f903b3

Please sign in to comment.