mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 13:43:49 +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); }
|
||||
|
||||
// Shape Type Interface
|
||||
const model::MaterialKey& getMaterialKey() const { return _payload->getMaterialKey(); }
|
||||
const model::MaterialKey getMaterialKey() const { return _payload->getMaterialKey(); }
|
||||
|
||||
protected:
|
||||
PayloadPointer _payload;
|
||||
|
|
Loading…
Reference in a new issue