mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-03 12:06:52 -04:00
enforce #ifndef __HEADER_H instead of #pragma once, for code consitency and better portability (#2296)
This commit is contained in:
parent
dcaa02c1e1
commit
fcc52e83de
23 changed files with 92 additions and 23 deletions
|
@ -19,7 +19,8 @@
|
|||
* Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#ifndef __IO_CONVERT_H
|
||||
#define __IO_CONVERT_H
|
||||
|
||||
#include "io_file.hpp"
|
||||
|
||||
|
@ -77,3 +78,5 @@ class FileConvertWriter : public stream::Writer {
|
|||
File file_{};
|
||||
uint64_t bytes_written_{0};
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue