removes unused variable

it was already mostly unused, it was usefull only in the constructor, even though it was a paramater of the constructor, so it could have been removed.
macos_ci
florent.teppe 2 years ago
parent 12304d36aa
commit 5dfa06acf8

@ -24,27 +24,23 @@ namespace ESMTerrain
LandObject::LandObject()
: mLand(nullptr)
, mLoadFlags(0)
{
}
LandObject::LandObject(const ESM4::Land* land, int loadFlags)
: mLand(nullptr)
, mLoadFlags(0)
, mData(*land, loadFlags)
{
}
LandObject::LandObject(const ESM::Land* land, int loadFlags)
: mLand(land)
, mLoadFlags(loadFlags)
, mData(*land, loadFlags)
{
}
LandObject::LandObject(const LandObject& copy, const osg::CopyOp& copyop)
: mLand(nullptr)
, mLoadFlags(0)
{
}

@ -58,7 +58,6 @@ namespace ESMTerrain
private:
const ESM::Land* mLand;
int mLoadFlags;
ESM::LandData mData;
};

Loading…
Cancel
Save