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

Mark constructor as explicit
sol2-server-rewrite
Koncord 7 years ago
parent b63bf258ff
commit 1f1cbf53f9

@ -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())

@ -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);

Loading…
Cancel
Save