mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-13 09:37:44 +00:00
enforce #ifndef __HEADER_H instead of #pragma once, for code consitency and better portability (#2296)
This commit is contained in:
@@ -19,7 +19,8 @@
|
||||
* Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#ifndef __MOCK_FILE_H
|
||||
#define __MOCK_FILE_H
|
||||
|
||||
#include "file.hpp"
|
||||
#include <cstring>
|
||||
@@ -87,3 +88,5 @@ class MockFile {
|
||||
std::string data_;
|
||||
uint32_t offset_{0};
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user