using deletei nstead

This commit is contained in:
Robin Müller 2020-10-04 15:55:39 +02:00
parent 20c261514b
commit 2b1029916b

View File

@ -9,9 +9,10 @@
* @author Jakob Meier
*/
class FileSystemMessage {
private:
FileSystemMessage(); //A private ctor inhibits instantiation
public:
// Instantiation forbidden
FileSystemMessage() = delete;
static const uint8_t MESSAGE_ID = messagetypes::FILE_SYSTEM_MESSAGE;
static const Command_t CREATE_FILE = MAKE_COMMAND_ID(1);
static const Command_t DELETE_FILE = MAKE_COMMAND_ID(2);