enforce #ifndef __HEADER_H instead of #pragma once, for code consitency and better portability (#2296)

This commit is contained in:
gullradriel 2024-10-14 15:50:04 +02:00 committed by GitHub
parent dcaa02c1e1
commit fcc52e83de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 92 additions and 23 deletions

View file

@ -19,7 +19,8 @@
* Boston, MA 02110-1301, USA.
*/
#pragma once
#ifndef __UI_EXTERNAL_MODULE_VIEW_H
#define __UI_EXTERNAL_MODULE_VIEW_H
#include "ui.hpp"
#include "ui_widget.hpp"
@ -92,3 +93,5 @@ class ExternalModuleView : public View {
};
} // namespace ui
#endif