/*
-Minetest-c55
-Copyright (C) 2012 celeron55, Perttu Ahola <celeron55@gmail.com>
+Minetest
+Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef CLIENTSIMPLEOBJECT_HEADER
-#define CLIENTSIMPLEOBJECT_HEADER
+#pragma once
#include "irrlichttypes_bloated.h"
class ClientEnvironment;
{
protected:
public:
- bool m_to_be_removed;
+ bool m_to_be_removed = false;
- ClientSimpleObject(): m_to_be_removed(false) {}
- virtual ~ClientSimpleObject(){}
- virtual void step(float dtime){}
-};
-
-#endif
+ ClientSimpleObject() = default;
+ virtual ~ClientSimpleObject() = default;
+ virtual void step(float dtime) {}
+};