[Client] Mark trivial destructor as default, remove "virtual" keyword

Mark constructor as explicit
This commit is contained in:
Koncord 2018-01-19 15:54:55 +08:00
parent b63bf258ff
commit 1f1cbf53f9
2 changed files with 2 additions and 7 deletions

View file

@ -27,11 +27,6 @@ mwmp::Cell::Cell(MWWorld::CellStore* cellStore)
updateTimer = 0; updateTimer = 0;
} }
Cell::~Cell()
{
}
void Cell::updateLocal(bool forceUpdate) void Cell::updateLocal(bool forceUpdate)
{ {
if (localActors.empty()) if (localActors.empty())

View file

@ -12,8 +12,8 @@ namespace mwmp
{ {
public: public:
Cell(MWWorld::CellStore* cellStore); explicit Cell(MWWorld::CellStore* cellStore);
virtual ~Cell(); ~Cell() = default;
void updateLocal(bool forceUpdate); void updateLocal(bool forceUpdate);
void updateDedicated(float dt); void updateDedicated(float dt);