[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;
}
Cell::~Cell()
{
}
void Cell::updateLocal(bool forceUpdate)
{
if (localActors.empty())

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

Loading…
Cancel
Save