change signature of copy return

This commit is contained in:
Stephen Birarda 2015-11-19 16:25:33 -08:00
parent 430cb7876d
commit 22f5d4df6d
2 changed files with 2 additions and 2 deletions

View file

@ -982,7 +982,7 @@ void MyAvatar::updateLookAtTargetAvatar() {
const float KEEP_LOOKING_AT_CURRENT_ANGLE_FACTOR = 1.3f;
const float GREATEST_LOOKING_AT_DISTANCE = 10.0f;
AvatarHash hash = DependencyManager::get<AvatarManager>()->getCopy();
AvatarHash hash = DependencyManager::get<AvatarManager>()->getHashCopy();
foreach (const AvatarSharedPointer& avatarPointer, hash) {
auto avatar = static_pointer_cast<Avatar>(avatarPointer);

View file

@ -31,7 +31,7 @@ class AvatarHashMap : public QObject, public Dependency {
SINGLETON_DEPENDENCY
public:
AvatarHash getCopy() { return _avatarHash; }
AvatarHash getHashCopy() { return _avatarHash; }
int size() { return _avatarHash.size(); }
signals: