mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
refactoring
This commit is contained in:
@@ -44,12 +44,6 @@ bool CCombinedArtifactInstance::isPart(const CArtifactInstance * supposedPart) c
|
||||
return false;
|
||||
}
|
||||
|
||||
std::vector<CCombinedArtifactInstance::PartInfo> & CCombinedArtifactInstance::getPartsInfo()
|
||||
{
|
||||
// TODO romove this func. encapsulation violation
|
||||
return partsInfo;
|
||||
}
|
||||
|
||||
const std::vector<CCombinedArtifactInstance::PartInfo> & CCombinedArtifactInstance::getPartsInfo() const
|
||||
{
|
||||
return partsInfo;
|
||||
|
||||
Reference in New Issue
Block a user