Skip to content
Snippets Groups Projects
Commit a63ecdbd authored by Martin Stjernholm's avatar Martin Stjernholm
Browse files

Instantiate the fallback codecs instead of using the master directly.

(encode|decode)_value now instantiates a local codec instance from
master()->Encoder or master()->Decoder, respectively. That to make it
possible to keep local state. Specifically, it fixes the problem that the
reverse lookup mappings in the encoder get populated way too early when the
master is used directly.

The codecs are only instantiated on-demand, though.
parent ace6c94c
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