Elektrine lite

← Feed

@necrophcodr@layer8.space

Post #163500

2026-01-28 18:57 UTC

@Alrecenk@peoplemaking.games is it a const* or a const* const?

Replies (1)

  • @Alrecenk@peoplemaking.games 2026-01-28 19:03

    @necrophcodr@layer8.space It was a const &. No pointers need to be involved. Just needed to remove the & to get a copy and fix my bug, but I had to realize a const element with no pointers could change first. It's probably undefined behavior given compiler optimizations around const references.

    Open ##2630852