Skip to content
Snippets Groups Projects
Commit 4df7f61a authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

fix: type collisions with constants

Constants (as generated by ApplicationModule::constant()) were causing a
logic_error if accessors of different types were using the same constant
(created with the same value and the same value type upon creation).
This is possible since the type passed to constant() does not have to be
the same as the type of the accessor.

This is now fixed by giving each constant a fully unique name, so every
accessor using a constant will be in its own little variable network.
parent 5a4d7e29
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment