mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 10:13:15 +02:00
fix warning about returning ref to temp variable
This commit is contained in:
parent
d448a3be7f
commit
7d0000c537
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ public:
|
||||||
void update(const UpdateFunctorPointer& updateFunctor) { _payload->update(updateFunctor); }
|
void update(const UpdateFunctorPointer& updateFunctor) { _payload->update(updateFunctor); }
|
||||||
|
|
||||||
// Shape Type Interface
|
// Shape Type Interface
|
||||||
const model::MaterialKey& getMaterialKey() const { return _payload->getMaterialKey(); }
|
const model::MaterialKey getMaterialKey() const { return _payload->getMaterialKey(); }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
PayloadPointer _payload;
|
PayloadPointer _payload;
|
||||||
|
|
Loading…
Reference in a new issue