]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/clientsimpleobject.h
Turn off verbose info message introduced accidentally with ae9b1aa
[dragonfireclient.git] / src / clientsimpleobject.h
index 3e770475767771ebd6c544658e605734ccf7e6b4..f4a40bcd3ba3278ab89e45eefc9e34e07e6154db 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 CLIENTSIMPLEOBJECT_HEADER
-#define CLIENTSIMPLEOBJECT_HEADER
+#pragma once
 
 #include "irrlichttypes_bloated.h"
 class ClientEnvironment;
@@ -29,9 +28,8 @@ class ClientSimpleObject
 public:
        bool m_to_be_removed = false;
 
-       ClientSimpleObject() {}
-       virtual ~ClientSimpleObject() {}
+       ClientSimpleObject() = default;
+       virtual ~ClientSimpleObject() = default;
+
        virtual void step(float dtime) {}
 };
-
-#endif