C++ modernize: Pragma once (#6264)
[oweals/minetest.git] / src / staticobject.h
index fb73befd38f3b405d321e64a90822e0f8453b09a..c457f1384f946c6b10a97d419ef0381c16535abf 100644 (file)
@@ -17,8 +17,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
 
-#ifndef STATICOBJECT_HEADER
-#define STATICOBJECT_HEADER
+#pragma once
 
 #include "irrlichttypes_bloated.h"
 #include <string>
@@ -95,6 +94,3 @@ public:
 
 private:
 };
-
-#endif
-