This is to fix eg. public ButtonHandle members from being returned as const reference, which means they won't outlive the struct they are accessed on, a recipe for obscure crashes. The is_trivial() criterium for this to apply is admittedly really arbitrary; I haven't really figured out what the right criterium should be, but it's better than hardcoding ButtonHandle. |
||
|---|---|---|
| .. | ||
| metalibs | ||
| src | ||
| PandaVersion.pp | ||