mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 21:19:40 +00:00
Add const specifier
This commit is contained in:
parent
695fcf41c4
commit
e5ec4fe042
1 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ namespace NifOsg
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
ValueInterpolator(boost::shared_ptr<MapT> keys, typename MapT::ValueType defaultVal = typename MapT::ValueType())
|
ValueInterpolator(boost::shared_ptr<const MapT> keys, typename MapT::ValueType defaultVal = typename MapT::ValueType())
|
||||||
: mKeys(keys)
|
: mKeys(keys)
|
||||||
, mDefaultVal(defaultVal)
|
, mDefaultVal(defaultVal)
|
||||||
{
|
{
|
||||||
|
@ -124,7 +124,7 @@ namespace NifOsg
|
||||||
mutable typename MapT::MapType::const_iterator mLastLowKey;
|
mutable typename MapT::MapType::const_iterator mLastLowKey;
|
||||||
mutable typename MapT::MapType::const_iterator mLastHighKey;
|
mutable typename MapT::MapType::const_iterator mLastHighKey;
|
||||||
|
|
||||||
boost::shared_ptr<MapT> mKeys;
|
boost::shared_ptr<const MapT> mKeys;
|
||||||
|
|
||||||
typename MapT::ValueType mDefaultVal;
|
typename MapT::ValueType mDefaultVal;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue